摘要:VariableExplanationExample String A string of text. To signify that the variable is a string, you should enclose it in quote marks. var myVariable = '
阅读全文
posted @ 2016-02-01 21:19
|
|
|
随笔分类 - JavaScript
摘要:VariableExplanationExample String A string of text. To signify that the variable is a string, you should enclose it in quote marks. var myVariable = '
阅读全文
posted @ 2016-02-01 21:19
摘要:来源 :http://www.codelifter.com/main/tips/tip_020.shtml The following are the rules for naming JavaScript variables: 1. A variable name cannot start wit
阅读全文
posted @ 2016-02-01 20:37
|
|