With or without var keyword
摘要:
Question:What exactly is the function of thevarkeyword in Javascript, and what is the difference between:var someNumber =2;var someFunction =function(){ doSomething;}var someObject ={}var someObject.someProperty =5; and:someNumber =2;someFunction =function(){ doSomething;}someObject ={}someObject.s. 阅读全文