MikeBronner
Programmer
I've been browsing some scripts on the net lately and have come across something I haven't seem before:
I'm at a loss as to how this works? is this a class immediately instantiated in a variable, with all its members declared as well?
Could you point me to a resource that discusses these methods (as in ways of programming, not as in functions)? My googling didn't reveal anything.
Thanks!
Take Care,
Mike
Code:
var [name] =
{
[name] : function ([parameters])
{
[...]
}
}
I'm at a loss as to how this works? is this a class immediately instantiated in a variable, with all its members declared as well?
Could you point me to a resource that discusses these methods (as in ways of programming, not as in functions)? My googling didn't reveal anything.
Thanks!
Take Care,
Mike