(function () { function sayHi(str) { return '你好' + str; } var text = 'xiaoming'; console.log(sayHi(text)); console.log(222); console.log(333); })();