
JavaScript 函数局部变量定义
function myFunction() {
'use strict';
var myVar='use strict';
console.log(myVar);
}
myFunction();
// run and check the console
// myVar is not defined outside of myFunction
// now remove the console log line to pass the test