ECMAScript(ECMA-262) λ Javascript λͺ μΈ λλ μ€νμ μλ―Έν©λλ€.
ECMA-262 : ECMAμΈν°λ΄μ λ(νμ€κΈ°κ΅¬)μ ECMAScript μΈμ΄μ 곡μ μ¬μμΈ ECMA-262 νμ€μ λ§λ€μμ΅λλ€.
μ¦, ECMAScriptλ μλ°μ€ν¬λ¦½νΈμ νμ€μ΄λ©° λΌλ(core)λ₯Ό ꡬμ±νλ μ€ν¬λ¦½νΈ μΈμ΄μ λλ€.
μλ°μ€ν¬λ¦½νΈλ ECMAScript λͺ μΈ λλ μ€νμ λ°λ₯΄λ μ€ν¬λ¦½νΈ μΈμ΄λΌκ³ ν μ μμ΅λλ€.
ECMAScript 6 (2015)
ES6μλ λ€μκ³Ό κ°μ μλ‘μ΄ κΈ°λ₯μ΄ μΆκ° λμμ΅λλ€.
- arrows (νμ΄ν ν¨μ)
- classes (ν΄λμ€)
- enhanced object literals (object λ©μλ μ μΈ λ° μμ±(λμ ) μ μΈ)
- template strings (ν νλ¦Ώ λ¬Έμμ΄)
- destructuring (ꡬ쑰λΆν΄ν λΉ)
- default + rest + spread (default νλΌλ―Έν°, rest νλΌλ―Έν°, μ κ°μ°μ°μ)
- let + const (let, const block level μ€μ½ν λ³μμ μΈ)
- iterators + for..of
- generators
- unicode
- modules
- module loaders
- map + set + weakmap + weakset
- proxies
- symbols
- subclassable built-ins
- promises (λΉλκΈ° νλ‘κ·Έλλ°)
- math + number + string + array + object APIs
- binary and octal literals
- reflect api
- tail calls (꼬리 λ¬ΌκΈ° μ΅μ ν)
ECMAScript 7 (2016)
- Array.prototype.includes()
- μ§μ μ°μ°μ(**)
ECMAScript 8 (2017)
- Async Functions (async ~ await)
- Shared memory and atomics (곡μ λ λ©λͺ¨λ¦¬μ μμ / SharedArrayBuffer κ°μ²΄μ Atomics κ°μ²΄λ₯Ό μ¬μ©ν λ©λͺ¨λ¦¬ 곡μ )
ECMAScript 9 (2018)
- Asynchronous Iteration (λΉλκΈ° λ°λ³΅ / for-await-of)
- Rest/Spread Properties (μ κ°μ°μ° λ° rest νλΌλ―Έν° -> λ°°μ΄λ‘ λ³κ²½)
ECMAScript 10 (2019)
- Array. Flat () and Array flatMap ()
- Object.fromEntries()
- String.prototype.trimStart(), String.prototype.trimEnd()
- Optional Catch
- Function.prototype.toString()
- Symbol.prototype.description
ECMAScript 11 (2020)
- BigInt
- Dynamic import
- Optional chaining (?.)
- import.meta
- globalThis
- String.prototype.matchAll() (μ§μ λ μ κ·μμ λν΄ λ¬Έμμ΄κ³Ό μΌμΉνλ λͺ¨λ κ²°κ³Όμ iteratorλ₯Ό λ°ν)
- Null coalescing operator (null λ³ν© μ°μ°μ)
ECMAScript 12 (2021)
- String.prototype.replaceAll()
- Promise.any() (promise μ€ νλλΌλ μ±κ³΅νλ©΄ μ€νμ μλ£)
- Logical operators and assignment expressions (λ Όλ¦¬ μ°μ°μμ ν λΉ ννμμ κ²°ν©)
- WeakRefs
- Numeric separators (μ«μ κ΅¬λΆ κΈ°νΈ _)
ECMAScript 13 (2022)
- Class: private, static
- Top-Level await
- Error.cause
- .at() (λ°°μ΄μ μμ μΈλ±μ€ μ κ·Ό)
- Object.hasOwn()
ECMAScript 14 (2023)
- Change Array by Copy (μλ‘ λ³΅μ¬λ λ°°μ΄μ λ°ν/ toReversed(), toSorted(), toSpliced())
- Array.prototype.findLast() , Array.prototype.findLastIndex()
- Symbols as WeakMap keys
μΆμ²:
ES6 ~ ES9 κ°λ΅ μ 리
ECMAScript(ECMA-262) λ Javascript μ λͺ μΈ λλ μ€νμ μλ―Έν©λλ€.ECMA-262 : Ecma μΈν°λ΄μ λ (νμ€κΈ°κ΅¬)λ ECMA μ€ν¬λ¦½νΈ μΈμ΄μ 곡μ μ¬μ μΈ ECMA-262 νμ€μ λ§λ€μμ΅λλ€.μλ°μ€ν¬λ¦½νΈλ₯Ό λΌλλ₯Ό ꡬμ±ν
velog.io
New features for JS syntax ES6, ES7, ES8, ES9, ES10, ES11, ES12 - Moment For Technology
mo4tech.com (Moment For Technology) is a global community with thousands techies from across the global hang out!Passionate technologists, be it gadget freaks, tech enthusiasts, coders, technopreneurs, or CIOs, you would find them all here.
www.mo4tech.com
ES6 μ΄νμ λ³κ²½μ μ΄μ 리
2009λ μ ES5κ° λ±μ₯νκ³ 2015λ μ ES6κ° λ±μ₯νλ©° ν° λ³νλ₯Ό κ²ͺμ μ΄ν, ECMAλ λ§€λ μλ‘μ΄ μλ°μ€ν¬λ¦½νΈ νμ€μ λ°νν©λλ€. ES6 μ΄ν μΆκ°λ λ΄μ©μ€ μΌλΆλ μ΄λ―Έ μ¬μ©νκ³ μμ§λ§, μμΈν μμλ³Έ
teamdable.github.io
λΉμ μ΄ JS κ°λ°μλΌλ©΄ λ°λμ μμμΌ ν ES2022 μ κ· κΈ°λ₯ 7κ°μ§ | GDSC UOS
μμ μλ νμΈμ, GDSC UOS FEνμμ μ½μ΄ λ©€λ²λ‘ νλνκ³ μλ μ΄λͺ μ¬μ λλ€. μ§λ 6μ 22μΌ, ECMAScript 2022κ° μ μ μ€νμΌλ‘ μ±νλμμ΅λλ€. FE κ°λ°μλ‘μ λΌλ €μΌ λ μ μλ Javascriptμ μ μμμ΄
gdsc-university-of-seoul.github.io
ES2023μ μλ‘ μΆκ°λλ κ²λ€
Arrayμ TypedArray νλ‘ν νμ μ findLast() λ©μλμ findLastIndex() λ©μλκ° μΆκ°λλ€. μ΄λ¦μμλ μ μ μλ―μ΄ λ λ©μλλ κ°κ° find(), findIndex() μ κ°μ μΌμ νμ§λ§ μμμΌλ‘ κ²°κ³Όλ₯Ό κ³μ°νλ€.
velog.io
'Javascript' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
| μλ°μ€ν¬λ¦½νΈμ Promiseμ await/async (4) | 2023.11.21 |
|---|---|
| μλ°μ€ν¬λ¦½νΈμ νΈμΆ μ€νκ³Ό μ΄λ²€νΈ 루ν (1) | 2023.11.18 |
| μλ°μ€ν¬λ¦½νΈμ λΉλκΈ° (2) | 2023.11.17 |