标签:运算符 console bsp ++ 优先 nbsp col div 括号
var i,j=5,k; for(i=0; i<10; i++,j++) { k = i + j; } console.log(i); console.log(j); console.log(k); //9,15,23 var a = 20; var b = (++a, 10); console.log(a); console.log(b); //21,10 console.log((2,5)); //5 //加括号提升逗号运算符优先级
标签:运算符 console bsp ++ 优先 nbsp col div 括号
原文地址:http://www.cnblogs.com/huangtonghui/p/7890315.html