Skip to content

lunix01/ajs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 

Repository files navigation

ECMAScript

ECMAScript标准
最新

ES6(ECMAScript 2015)

ES6 Features
ES6 Features
ES6入门教程

ES7(ECMAScript 2016)

Array.prototype.includes
Exponentiation operator

ES8(ECMAScript 2017)

Object.values/Object.entries
String padding
Object.getOwnPropertyDescriptors
Trailing commas in function parameter lists and calls
Async functions
Shared memory and atomics

ECMAScript 2018

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

ECMAScript 2019

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}

ECMAScript 2020

String.prototype.matchAll
import()
BigInt
Promise.allSettled
globalThis
for-in mechanics
Optional Chaining
Nullish coalescing Operator
import.meta

ECMAScript 2021

String.protoype.replaceAll
Promise.any
WeakRefs
Logical Assignment Operators
Numeric separators

ECMAScript 2022

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

ECMAScript 2023

Array find from last
Hashbang Grammar

浏览器兼容

表格

Lib & Fx

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

Runtime & Fx

Node.js
Deno

Web

Express、KoaMeteor、Nest、Next、Remix、Astro、SvelteKit、Egg、Midway、Nuxt、Umi
Sequelize、Typeorm、Prisma
FreshAlephUltra、Oak

桌面、移动

Electronnw.js
React Native、Ionic、Cordova

转译器

TypeScript
Babel
SWC
ReScript
Compile to JS
Wasm

自动化

包管理:npmyarnpnpm
构建打包:WebpackVite、Rollup、Parcel、Esbuild、Turbopack
Lint:ESLint + Prettier
测试:Jest、Mocha、Jasmine、Cypress、Storybook

WOW

模块化

CommonJS、AMD(Asynchronous Module Definition)、CMD(Common Module Definition)、ESM(ECMA Script Modules)
模块化历程

流程控制

同步
异步:
callback hel
Thunk
Promise/a+
生成器Generators/yield
Async/Await

Awesome

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