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
0
26
跟上_JS_的腳步-ES2020.pdf
CypressKuo
August 28, 2020
Tweet
Share
More Decks by CypressKuo
See All by CypressKuo
Deep-copying.pdf
cypresskuo
0
30
CSS_for_Web_Vitals.pdf
cypresskuo
0
35
談談_Code_review.pdf
cypresskuo
0
42
REST_vs_GraphQL_今夜はご注文はどっち.pdf
cypresskuo
0
21
CSS_重構.pdf
cypresskuo
0
23
Core_Web_Vitals.pdf
cypresskuo
0
51
這個時代人人都知道的敏捷開發.pdf
cypresskuo
0
55
Webassembly.pdf
cypresskuo
0
11
談談_Functional_Programming.pdf
cypresskuo
0
25
Other Decks in Technology
See All in Technology
大規模サーバーレスAPIの堅牢性・信頼性設計 〜AWSのベストプラクティスから始まる現実的制約との向き合い方〜
maimyyym
8
4.3k
いまからでも遅くない!SSL/TLS証明書超入門(It's not too late to start! SSL/TLS Certificates: The Absolute Beginner's Guide)
norimuraz
0
170
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing Hiroshima 2025 Edition
tomzoh
0
130
Shirankedo NOCで見えてきたeduroam/OpenRoaming運用ノウハウと課題 - BAKUCHIKU BANBAN #2
marokiki
0
190
[Keynote] What do you need to know about DevEx in 2025
salaboy
0
160
成長自己責任時代のあるきかた/How to navigate the era of personal responsibility for growth
kwappa
4
320
やる気のない自分との向き合い方/How to Deal with Your Unmotivated Self
sanogemaru
0
480
能登半島災害現場エンジニアクロストーク 【JAWS FESTA 2025 in 金沢】
ditccsugii
0
520
能登半島地震において デジタルができたこと・できなかったこと
ditccsugii
0
120
from Sakichi Toyoda to Agile
kawaguti
PRO
1
120
ガバメントクラウドの概要と自治体事例(名古屋市)
techniczna
2
230
ACA でMAGI システムを社内で展開しようとした話
mappie_kochi
1
310
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
What's in a price? How to price your products and services
michaelherold
246
12k
Gamification - CAS2011
davidbonilla
81
5.5k
The Invisible Side of Design
smashingmag
302
51k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
Building Flexible Design Systems
yeseniaperezcruz
329
39k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
114
20k
How to Ace a Technical Interview
jacobian
280
24k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
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