JS - 语句

2015-01-20  本文已影响56人  sunorry
var a = 1;
var a = b = 1;  //b是全局变量 
try {
   throw "text";
} catch (ex) {
  console.log(ex); //text
} finally {
  console.log('finally');
}
上一篇下一篇

猜你喜欢

热点阅读