var a = 1; var a = b = 1; //b是全局变量
try { throw "text"; } catch (ex) { console.log(ex); //text } finally { console.log('finally'); }
本文标题:JS - 语句
本文链接:https://www.haomeiwen.com/subject/htlhxttx.html
网友评论