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
650
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.2k
RFC 9111: HTTP Caching
jxck
1
740
tc39_study_2
jxck
1
13k
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
600
Podcast over PWA
jxck
0
300
Yearly Web 2019
jxck
0
220
Other Decks in Technology
See All in Technology
GitHub を組織的に使いこなすために ソニーが実践した全社展開のプラクティス
sony
0
350
『ソフトウェア』で『リアル』を動かす:クレーンゲームからデータ基盤までの統一アーキテクチャ / アーキテクチャConference 2025
genda
0
1.2k
セキュリティ対策としての PostgreSQL マイナーバージョンアップ
jri_narita
0
110
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
21k
2025 DORA Reportから読み解く!AIが映し出す、成果を出し続ける組織の共通点 #開発生産性_findy
takabow
0
440
ローカルLLM基礎知識 / local LLM basics 2025
kishida
23
9k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
9.7k
IPv6-mostly field report from RubyKaigi 2026
sorah
0
210
ABEJA FIRST GUIDE for Software Engineers
abeja
0
3.2k
クラウドネイティブ時代の 開発プロセス再設計 〜速さと品質を両立するには〜
moritamasami
0
120
信頼性が求められる業務のAIAgentのアーキテクチャ設計の勘所と課題
miyatakoji
0
180
生成AIシステムとAIエージェントに関する性能や安全性の評価
shibuiwilliam
2
220
Featured
See All Featured
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
What's in a price? How to price your products and services
michaelherold
246
12k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
Thoughts on Productivity
jonyablonski
73
4.9k
Mobile First: as difficult as doing things right
swwweet
225
10k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
A designer walks into a library…
pauljervisheath
210
24k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
350
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 気持ちはわかる....