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
Jxck
October 09, 2019
Technology
0
640
tc39_proposal_object_map #tc39_study
https://github.com/tc39/proposal-object-map/
#tc39_study
Jxck
October 09, 2019
Tweet
Share
More Decks by Jxck
See All by Jxck
IE Graduation (IE の功績を讃える)
jxck
22
16k
IE Graduation Certificate
jxck
6
6.1k
RFC 9111: HTTP Caching
jxck
1
730
tc39_study_2
jxck
1
12k
IETF における ABNF とプロトコルパーサの話 / ABNF for Protocol Parser @ IETF
jxck
2
1.2k
Web Components 元年 v3 / Web Components first year v3
jxck
1
1.1k
Periodic Background Sync
jxck
0
590
Podcast over PWA
jxck
0
290
Yearly Web 2019
jxck
0
210
Other Decks in Technology
See All in Technology
ZOZOのAI活用実践〜社内基盤からサービス応用まで〜
zozotech
PRO
0
160
PLaMoの事後学習を支える技術 / PFN LLMセミナー
pfn
PRO
9
3.8k
AI ReadyなData PlatformとしてのAutonomous Databaseアップデート
oracle4engineer
PRO
0
160
Railsアプリケーション開発者のためのブックガイド
takahashim
14
6.1k
Geospatialの世界最前線を探る [2025年版]
dayjournal
3
490
Sidekiq その前に:Webアプリケーションにおける非同期ジョブ設計原則
morihirok
17
7.3k
「AI駆動PO」を考えてみる - 作る速さから価値のスループットへ:検査・適応で未来を開発 / AI-driven product owner. scrummat2025
yosuke_nagai
4
570
AWSにおけるTrend Vision Oneの効果について
shimak
0
120
実装で解き明かす並行処理の歴史
zozotech
PRO
1
310
自作LLM Native GORM Pluginで実現する AI Agentバックテスト基盤構築
po3rin
2
240
Azure Well-Architected Framework入門
tomokusaba
0
280
ユニットテストに対する考え方の変遷 / Everyone should watch his live coding
mdstoy
0
120
Featured
See All Featured
Writing Fast Ruby
sferik
629
62k
Side Projects
sachag
455
43k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
188
55k
Why Our Code Smells
bkeepers
PRO
339
57k
What's in a price? How to price your products and services
michaelherold
246
12k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
54
3k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
For a Future-Friendly Web
brad_frost
180
9.9k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Building Applications with DynamoDB
mza
96
6.6k
Faster Mobile Websites
deanohume
310
31k
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 気持ちはわかる....