Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
跟上_JS_的腳步-ES2020.pdf
Search
CypressKuo
August 28, 2020
Technology
35
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
跟上_JS_的腳步-ES2020.pdf
CypressKuo
August 28, 2020
More Decks by CypressKuo
See All by CypressKuo
Deep-copying.pdf
cypresskuo
0
41
CSS_for_Web_Vitals.pdf
cypresskuo
0
46
談談_Code_review.pdf
cypresskuo
0
52
REST_vs_GraphQL_今夜はご注文はどっち.pdf
cypresskuo
0
27
CSS_重構.pdf
cypresskuo
0
30
Core_Web_Vitals.pdf
cypresskuo
0
61
這個時代人人都知道的敏捷開發.pdf
cypresskuo
0
65
Webassembly.pdf
cypresskuo
0
17
談談_Functional_Programming.pdf
cypresskuo
0
32
Other Decks in Technology
See All in Technology
AICoEでAIネイティブ組織への進化
yukiogawa
0
200
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
430
あなたの『Site』はどこですか? — xREという考え方
miyamu
0
1.2k
DMM.com 購入改善推進チーム におけるCodeRabbitを用いた レビューフロー改善の一例
ysknsid25
2
670
【Claude Code】鹿野さんに聞く 私の推しの並行開発環境 大公開 / claude-code-parallel-2026-07-15
tonkotsuboy_com
12
8.7k
kaonavi Tech Night#1
kaonavi
0
100
そのドキュメント、自動化しませんか?
yuksew
1
300
SREとQA 二人三脚で進めるSLO運用/sre-qa-slo
sugitak
0
950
Compose 新機能総まとめ / What's New in Jetpack Compose
yanzm
0
320
Genie Ontologyは銀の弾丸かを考える / Is Genie Ontology a Silver Bullet?
nttcom
0
410
「最後に責任を取るのはチーム」— 人間のPRレビューを最小化してアップデートしたメンタルモデル
jnishime_dresscode
0
920
SoccerMaster: A Vision Foundation Model for Soccer Understanding
kzykmyzw
0
140
Featured
See All Featured
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
600
Tell your own story through comics
letsgokoyo
1
1k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
390
Between Models and Reality
mayunak
4
370
Amusing Abliteration
ianozsvald
1
230
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
170
Testing 201, or: Great Expectations
jmmastey
46
8.2k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
4 Signs Your Business is Dying
shpigford
187
22k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.9k
Leo the Paperboy
mayatellez
8
1.9k
A designer walks into a library…
pauljervisheath
211
24k
Transcript
跟上 JS 的腳步 - ES2020 cypresskuo @前端組例會 2020/08/28
Dynamic import This repository contains a proposal for adding a
"function-like" import() module loading syntactic form to JavaScript. It is currently in stage 4 of the TC39 process. Babel: @babel/plugin-syntax-dynamic-import · Babel
Nullish Coalescing It is currently in stage 4 of the
TC39 process. Babel: @babel/plugin-proposal-nullish-coalescing-operator · Babel 0 || 123; // 123 0 ?? 123; // 0
Optional Chaining It is currently in stage 4 of the
TC39 process. Babel: @babel/plugin-proposal-optional-chaining · Babel
Promise.allSettled It is currently in stage 4 of the TC39
process. 在所有給定的 promise 都已 fulfilled 或被 rejected 後,才執行下一步
其他不常用的特性 BigInt String.prototype matchAll globalThis Module Namespace Exports
同場加映: Promise 三兄弟 Promise.all 全部 promise 都要 fulfilled,才會返回 fulfilled 其中有一個被
rejected,就直接返回第一個被 reject 的值 Promise.any 全部 promise 都要 rejected,才會返回 rejected 其中有一個為 fulfilled,就直接返回第一個被 fulfilled 的值 Promise.race 直接返回第一個被 fulfilled / rejected 的 promise 其結果值
同場加映: 你可能會用到的 ES2019 String.prototype trimStart String.prototype trimEnd Array.prototype flat
Q & A
• https://www.freecodecamp.org/news/javascript-new-features-es 2020/ • https://es6.ruanyifeng.com/#docs/promise • https://medium.com/@selvaganesh93/javascript-whats-new-in- ecmascript-2019-es2019-es10-35210c6e7f4b