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
tc39_proposal_object_map #tc39_study
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Jxck
October 09, 2019
Technology
670
0
Share
tc39_proposal_object_map #tc39_study
https://github.com/tc39/proposal-object-map/
#tc39_study
Jxck
October 09, 2019
More Decks by Jxck
See All by Jxck
IE Graduation (IE の功績を讃える)
jxck
22
16k
IE Graduation Certificate
jxck
6
6.3k
RFC 9111: HTTP Caching
jxck
1
780
tc39_study_2
jxck
1
14k
IETF における ABNF とプロトコルパーサの話 / ABNF for Protocol Parser @ IETF
jxck
2
1.3k
Web Components 元年 v3 / Web Components first year v3
jxck
1
1.1k
Periodic Background Sync
jxck
0
640
Podcast over PWA
jxck
1
350
Yearly Web 2019
jxck
0
240
Other Decks in Technology
See All in Technology
パーソルキャリア IT/テクノロジー職向け 会社紹介資料|Company Introduction Deck
techtekt
PRO
0
200
20260515 OpenIDファウンデーション・ジャパンご紹介
oidfj
0
130
続 運用改善、不都合な真実 〜 物理制約のない運用改善はほとんど無価値 / 20260518-ssmjp-kaizen-no-value-without-physical-constraints
opelab
2
240
10サービス以上のメール到達率改善を地道に継続的に進めている話 / Continue to improve email delivery rates across multiple services
yamaguchitk333
6
1.9k
PdM・Eng・QAで進めるAI駆動開発の現在地/aidd-with-pdm-eng-qa
shota_kusaba
0
250
ECSのTerraformモジュールにコントリビュートした話
harukasakihara
0
210
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.5k
Gaussian Splattingの実用化 - 映像制作への展開
gpuunite_official
0
200
Oracle Cloud Infrastructure presents managed, serverless MCP Servers for Oracle AI Database
thatjeffsmith
1
350
バイブコーディング、仕様駆動、その先へ - 「不確実性に対する検査‧適応のサイクル」を設計する
littlehands
1
520
AI対話分析の夢と、汚いデータの現実 Looker / Dataplex / Dataform で実現する品質ファーストな基盤設計
waiwai2111
0
580
エンタープライズの厳格な制約を開発者に意識させない:クラウドネイティブ開発基盤設計/cloudnative-kaigi-golden-path
mhrtech
0
440
Featured
See All Featured
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
440
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.4k
First, design no harm
axbom
PRO
2
1.2k
Context Engineering - Making Every Token Count
addyosmani
9
890
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
5
1.1k
sira's awesome portfolio website redesign presentation
elsirapls
0
240
The Limits of Empathy - UXLibs8
cassininazir
1
330
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
360
How to make the Groovebox
asonas
2
2.2k
How STYLIGHT went responsive
nonsquared
100
6.1k
Scaling GitHub
holman
464
140k
Transcript
tc39/proposal-object-map #tc39_study #tc39_study 2019/10/9 Jxck
2 Object.map したい Object.map(([k,v]) => { // snip... }) でも
Object は Iterable じゃないし このままやると slippey slope ...
3 Iterator 側でやろう Iterator.from(obj) .map(([key, value]) => [do(key), do(value)]) .toObject(([key])
=> key, ([, value]) => value); Iterator.from で @@iterator のない Object を許容 反対が多かったら Object.iterate(obj) にする
• Object.entries().map() |> Object.fromEntries じゃだめ? ◦ entries() は Array 生成でコピーが発生するのはわかる
◦ でも toObject は完全に見た目のため (left to right) • Map 使え ◦ JSON.Stringify できないしなぁ ◦ いう気持ちはわかる 4
5 気持ちはわかる....