Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
跟上_JS_的腳步-ES2020.pdf
Search
CypressKuo
August 28, 2020
Technology
43
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
跟上_JS_的腳步-ES2020.pdf
CypressKuo
August 28, 2020
Transcript
10 slides
跟上 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
More Decks by CypressKuo
See All by CypressKuo
Deep-copying.pdf
cypresskuo
0
45
CSS_for_Web_Vitals.pdf
cypresskuo
0
52
談談_Code_review.pdf
cypresskuo
0
57
REST_vs_GraphQL_今夜はご注文はどっち.pdf
cypresskuo
0
31
CSS_重構.pdf
cypresskuo
0
37
Core_Web_Vitals.pdf
cypresskuo
0
65
這個時代人人都知道的敏捷開發.pdf
cypresskuo
0
93
Webassembly.pdf
cypresskuo
0
24
談談_Functional_Programming.pdf
cypresskuo
0
36
Other Decks in Technology
See All in Technology
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
400
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
1
410
New Relicのアラート対応をClaude Codeで自動修正するワークフローを作った話
manabuseki
3
760
フロントエンドのテストカバレッジは 100%強制がいい
bengo4com
7
4.2k
FPGAでアクティブセンシングがやりたくてカメラモジュールを自作した話
ryuz88
0
160
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
200
Is the Website Dying?
miriamschwab
0
270
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2.3k
正しくWeb サイトを守るためのコンテンツセキュリティーポリシー
hinalin
0
820
AWS re:Invent 2026 FSI Pre-Event Networking Night
junjikoide
0
370
[DBRE Summit 26] DBRE はデータベース運用をどう変えたのか
_awache
0
150
AWS AIB 受験体験記!~練習問題を AI に作らせてみて感じたこと~
ysuzuki
0
110
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
The Art of Programming - Codeland 2020
erikaheidi
57
15k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
410
Making the Leap to Tech Lead
cromwellryan
135
10k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
490
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
660
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
1
320
Code Review Best Practice
trishagee
74
20k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k