SJS 中的变量均为值的引用。
undefined
。
var num = 1;
var str = "hello alipay";
var undef; // undef === undefined
const n = 2;
let s = 'string';
globalVar = 3;
变量命名必须符合下面两个规则:
与 Javascript 语法规则一致,以下标识符不能作为变量名:
arguments
break
case
continue
default
delete
do
else
false
for
function
if
Infinity
NaN
null
require
return
switch
this
true
typeof
undefined
var
void
while
在文档使用中是否遇到以下问题
更多建议
匿名提交