WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 some difficulty about Grid Widget, chsw1984, March 4, 2004
     Re:some difficulty about Grid Widget, Emil A Eklund, March 4, 2004
         Re:some difficulty about Grid Widget , chsw1984, March 5, 2004
         Re:some difficulty about Grid Widget, Erik Arvidsson, March 4, 2004

Subject: Re:some difficulty about Grid Widget From: Erik Arvidsson Date: March 4, 2004
I would say it is just syntactic sugar. The following are semantically equal (not really but from our perspective treat it as such).

var obj = new Object();
obj.prop = "value";
obj.meth = function () { alert( this.prop ); };

var obj = {
prop: "value",
meth: function () { alert( this.prop ); }
};

erik



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX