-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,对前端开发面试题
中有几处疑问
#87
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
说几条写JavaScript的基本规范?
中的第9条:for-in循环中的变量 应该使用var关键字明确限定作用域,从而避免作用域污染。
是不是应该使用let关键字?let才能实现for这种块级作用域不是?Javascript作用链域?
中:当需要从局部函数查找某一*属性*或方法时,如果当前作用域没有找到,
其中的属性
是不是改成变量
更好些?属性不是按原型链去查找的吗?望指教^_^
The text was updated successfully, but these errors were encountered: