var name = Tom;
(function() {
if (typeof name == undefined) {
name = Jack;
console.log(Goodbye + name);
} else {
console.log(Hello + name);
}
})();
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
var name = Tom;
(function() {
if (typeof name == undefined) {
name = Jack;
console.log(Goodbye + name);
} else {
console.log(Hello + name);
}
})();
请登录后查看评论内容