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

【前端成长之路】箭头函数与普通函数的区别 #10

Open
AmamiyaCx opened this issue Sep 3, 2022 · 0 comments
Open

【前端成长之路】箭头函数与普通函数的区别 #10

AmamiyaCx opened this issue Sep 3, 2022 · 0 comments

Comments

@AmamiyaCx
Copy link
Owner

  • 箭头函数没有自己的this
  • 无法修改箭头函数this的指向
  • 箭头函数没有arguments
  • 箭头函数是匿名函数,不能使用new
  • 箭头函数没有原型属性
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