Wednesday, 14 August 2013

What is function with brackets mean?

What is function with brackets mean?

Does anyone know what is test[name] mean?
function test(value){
copy(value||{},this);
}
test[name] = function(){
return "test"
}

No comments:

Post a Comment