var a = 1; var a = b = 1; //b是全局变量
try { throw "text"; } catch (ex) { console.log(ex); //text } finally { console.log('finally'); }