ES6 Features
ES6 Features
ES6入门教程
Array.prototype.includes
Exponentiation operator
Object.values/Object.entries
String padding
Object.getOwnPropertyDescriptors
Trailing commas in function parameter lists and calls
Async functions
Shared memory and atomics
Lifting template literal restriction
s (dotAll) flag for regular expressions
RegExp named capture groups
Rest/Spread Properties
RegExp Lookbehind Assertions
RegExp Unicode Property Escapes
Promise.prototype.finally
Asynchronous Iteration
Optional catch binding
JSON superset
Symbol.prototype.description
Function.prototype.toString revision
Object.fromEntries
Well-formed JSON.stringify
String.prototype.{trimStart,trimEnd}
Array.prototype.{flat,flatMap}
String.prototype.matchAll
import()
BigInt
Promise.allSettled
globalThis
for-in mechanics
Optional Chaining
Nullish coalescing Operator
import.meta
String.protoype.replaceAll
Promise.any
WeakRefs
Logical Assignment Operators
Numeric separators
Class Fields (Private instance methods and accessors, Class Public Instance Fields & Private Instance Fields, Static class fields and private static methods)
RegExp Match Indices
Top-level await
Ergonomic brand checks for Private Fields
.at()
Accessible Object.prototype.hasOwnProperty
Class Static Block
Error Cause
Array find from last
Hashbang Grammar
underscore、lodash、ramda、moment、axios、socket.io、math、crypto、three
React & JSX & Redux & Mobx & Valtio、Vue & Pinia、Angular
RxJS、Cycle
Svelte、Preact、Riot、Solid、Vanilla、Inferno、Alpine、Lit、Mithril、Ember、Aurelia、Backbone、JQuery
Express、Koa、Meteor、Nest、Next、Remix、Astro、SvelteKit、Egg、Midway、Nuxt、Umi
Sequelize、Typeorm、Prisma
Fresh、Aleph、Ultra、Oak
Electron、nw.js
React Native、Ionic、Cordova
TypeScript
Babel
SWC
ReScript
Compile to JS
Wasm
包管理:npm、yarn、pnpm
构建打包:Webpack、Vite、Rollup、Parcel、Esbuild、Turbopack
Lint:ESLint + Prettier
测试:Jest、Mocha、Jasmine、Cypress、Storybook
CommonJS、AMD(Asynchronous Module Definition)、CMD(Common Module Definition)、ESM(ECMA Script Modules)
模块化历程
同步
异步:
callback hel
Thunk
Promise/a+
生成器Generators/yield
Async/Await
http://www.javascripting.com/
https://js.libhunt.com/
https://github.com/sorrycc/awesome-javascript
https://github.com/airbnb/javascript
https://github.com/trekhleb/javascript-algorithms
https://github.com/TheAlgorithms/Javascript