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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
バイブコーディングで3倍早く⚪⚪を作ってみた
samakada
0
220
Anthropic「Long-running a gents」をGeminiで再現してみた
tkikuchi
0
790
『生成AI時代のクレデンシャルとパーミッション設計 — Claude Code を起点に』の執筆企画
takuros
3
2.2k
CyberAgent YJC Connect
shimaf4979
1
170
小さいVue.jsを30分で作る
hal_spidernight
0
140
ハーネスエンジニアリング入門
hatyibei
0
110
ハーネスエンジニアリング入門
knishioka
0
130
鹿野さんに聞く!CSSの最新トレンド Ver.2026
tonkotsuboy_com
6
2.3k
ServiceによるKubernetes通信制御ーClusterIPを例に
miku01
1
150
サンプリングは「作る」のか「使う」のか? 分散トレースのコストと運用を両立する実践的戦略 / Why you need the tail sampling and why you don't want it
ymotongpoo
3
120
AWS Transform CustomでIaCコードを自由自在に変換しよう
duelist2020jp
0
250
知ってた?JavaScriptの"正しさ"を検証するテストが5万以上もあること(Test262)
riyaamemiya
1
150
Featured
See All Featured
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
110
WCS-LA-2024
lcolladotor
0
570
Visualization
eitanlees
150
17k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
65
54k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4k
How to train your dragon (web standard)
notwaldorf
97
6.6k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
290
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
270
Everyday Curiosity
cassininazir
0
200
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
290
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 気持ちはわかる....