摘要: 在块级作用域中: 除了对应的let const 有作用域外,函数声明同样被限制在声明他的语句中: 使用 function : foo('outside'); // TypeError: foo is not a function { function foo(location) { console. 阅读全文
posted @ 2021-03-16 23:00 蛰鸣 阅读(34) 评论(0) 推荐(0) 编辑