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
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
650
Podcast over PWA
jxck
1
360
Yearly Web 2019
jxck
0
250
Other Decks in Technology
See All in Technology
サイバーセキュリティ概論 / Introduction to Cybersecurity
ks91
PRO
0
130
Gradle×GitHub_ActionsでCI時間を約50%短縮 ジョブ分割の設計と落とし穴 / Cutting CI Time by ~50% with Gradle and GitHub Actions: Job-Splitting Design and Pitfalls
takatty
0
610
「気づいたら仕事が終わっている」バクラクAIエージェント本番運用の裏側 / layerx-bakuraku-aie2026
yuya4
17
8.7k
AI時代の私の技術インプットとアウトプット術
tonkotsuboy_com
16
8.3k
Unlocking the Apps
pimterry
0
180
チームで実践する AI-DLC 思考の軌跡を残すチェックポイント設計
belongadmin
0
2k
TROCCOで始めるクラウドコストを民主化するためのFinOps
tk3fftk
3
550
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
320
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.8k
Ruby::Boxでできること、Refinementsでできること
joker1007
3
380
Databricks における 生成AIガバナンスの実践
taka_aki
1
270
Mastering Ruby Box
tagomoris
3
140
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
Building AI with AI
inesmontani
PRO
1
1k
The SEO identity crisis: Don't let AI make you average
varn
0
480
Visualization
eitanlees
152
17k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
210
Tell your own story through comics
letsgokoyo
1
940
How to Ace a Technical Interview
jacobian
281
24k
Designing for Timeless Needs
cassininazir
1
250
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.5k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
380
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Rails Girls Zürich Keynote
gr2m
96
14k
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 気持ちはわかる....