测试

function test(){ var message = "hi"; // 局部变量 } test(); alert(message); // 错误!

posted @ 2020-08-25 09:49  ThingJS_森友鹿锘  阅读(119)  评论(0编辑  收藏  举报