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

ES2017 #3

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

ES2017 #3

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

async、await

Object.values()、Object.entries()

Object.getOwnPropertyDescriptors()

返回指定对象所有自身属性(非继承属性)的描述对象

str.padStart()、str.padEnd()

SharedArrayBuffer

允许 Worker 线程与主线程共享同一块内存。
SharedArrayBuffer的 API 与ArrayBuffer一样,唯一的区别是后者无法共享数据。

Atomics对象

提供了一组原子操作,用于在共享内存的多线程环境中实现线程间的同步和协作

允许函数的最后一个参数有尾逗号

参考资料

@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