var pageState = {ReferencesNormal : 0 ,Autoloading : 1 ,AutoloadStopping : 2} var myPageStage = pageState.Normal; alert(myPageStage);
How to do enumerations (enum) in javascript | Javascript Kata
http://www.javascriptkata.com/2007/03/22/how-to-do-enumerations-enum-in-javascript/
How to use anonymous objects | Javascript Kata
http://www.javascriptkata.com/2007/03/22/how-to-use-anonymous-objects/
No comments:
Post a Comment