Javascript Words To Avoid In Variables
RegisterLogin
Javascript Words To Avoid In Variables
Post Description: Javascript Words To Avoid In Variables
Tags: Javascript, Words, To, Avoid, In, Variables
This Post Was Posted On May 23, 2008 By Webune #1441
Post Description: Javascript Words To Avoid In Variables
Tags: Javascript, Words, To, Avoid, In, Variables
This Post Was Posted On May 23, 2008 By Webune #1441
Javascript Words To Avoid In Variables by Webune
so keep this rule when naming your variables is to avoid the use of javascript reserved words. these are special words that are used for specific purpose in javasscript. for example, you've learned that the reserved word var is used to declare a javascript variable. using it as a variable name can cause numberous problesm in your scripts, since this word is meant to be used in a different way. the next table lists the reserved words in javascript. note that tall these words are used so they will become more familiar to you as you start to code more javascript.
| abstract | delete | function | null | throw |
| boolean | do | goto | package | throws |
| break | double | if | private | transient |
| byte | else | implements | protected | true |
| case | enum | import | public | try |
| catch | export | in | return | typeof |
| char | extends | instanceof | short | var |
| class | false | int | static | void |
| const | final | interface | super | volatile |
| continue | finally | long | switch | while |
| debugger | float | native | synchronized | with |
| default | for | new | this |
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
©2011 Webune Forums - Mon Dec 19, 2011 9:45 pm
Powered by: Webune Forums V3
Powered by: Webune Forums V3