vue222/11-前端模块化开发Webpack(Node.js基础)/01-前端模块化的重要性/模块化开发(ES5)model_second.js

12 lines
194 B
JavaScript

(
function(){
var name = "这是我的名字";
var tip = false
function doing(name) {
console.log(name+":笑笑");
}
if (tip==false) {
doing(name)
}
}
)()