Skip to content
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

数组方法这里的注释笔误了么 #73

Open
horseson2018 opened this issue Nov 25, 2020 · 0 comments
Open

数组方法这里的注释笔误了么 #73

horseson2018 opened this issue Nov 25, 2020 · 0 comments

Comments

@horseson2018
Copy link

这里如果当前浏览器支持__proto__属性,则直接覆盖当前数组对象原型上的原生数组方法,如果不支持该属性,则直接覆盖数组对象的原型。
这里写反了吧
如果支持__proto__属性,直接覆盖数组对象的原型,不支持则一一覆盖数组对象上的方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant