javascript - What does it mean when there is an unnamed object with function inside? -


reading javascript files , couldn't understand piece of code. object function in it. how understand it?

{       // static methods     function getcurrent() {         return obj[k].instance     } } 

this not object. block statement used grouping statements. in case groups static methods.


Popular posts from this blog

java - Cannot send AES encrypted messages of over 47 characters -

php - How to set default value of a select dynamically from database using smarty? -

telerik - Reformat image format in PDF -