Forum Moderators: open
var SomeThing = { SomeItem:"String" ,SomeFunction:function { return window.Somthingelse;},initialize:function{startsome code;}}
SomeThing.initialize(); So my question is I have never seen SomeFunction:function {} with the ":". What's that about and where can I find out more about it. It seems alot of advanced JS code out there uses this method.