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

ES2016 #2

Open
luoway opened this issue Jun 24, 2023 · 0 comments
Open

ES2016 #2

luoway opened this issue Jun 24, 2023 · 0 comments
Labels
deploy deploy to gh-page

Comments

@luoway
Copy link
Owner

luoway commented Jun 24, 2023

JS老版本按数字命名:ES5、ES6
自2016年起,版本按年份命名:ECMAScript 2016, 2017, 2018, 2019, ...

Array.prototype.includes()

幂操作符

  • x ** y === Math.pow(x, y)
  • x **= y === x = x ** y

参考资料

@luoway luoway added the deploy deploy to gh-page label Jun 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy deploy to gh-page
Projects
None yet
Development

No branches or pull requests

1 participant