I am working on improving JavaScript code. I have seen several people write that too many people write JavaScript as another language such as C #. What are some common things I have chosen in C # - is that what I have to do differently in JavaScript?
There is a great (and rewarding) JavaScript article here:
http://www.codeproject.com/KB/scripting/javascript-gotchas.aspx
It covers:
...
- Elisha Manor ( # JavaScript):
Commas on an object initializer; excellent in C # ... not so good in javascript.