TC39
const b = a.{ id, name, age } - Object Cherry Pick
💡 Ideas
proposal
willow_grace
April 30, 2022, 7:28pm
50
I didn't invent or create anything... DirectorDoc created it... my idea would be to use the DirectorDoc symbol here... in the Object Cherry pick ... reference
ternary-like-try-catch
show post in topic
Related Topics
Topic
Replies
Views
Activity
Destructuring - Assign selected props to a new variable
💡 Ideas
proposal
9
1423
November 5, 2020
Object restructuring syntax
💡 Ideas
7
933
March 20, 2021
when object declaration passed with single string, consider the same string as key == value like variable shorthand
💡 Ideas
proposal
11
520
March 7, 2020
Obj2.{ x, y } = Obj1 Destructuring Assignment
💡 Ideas
proposal
3
255
April 13, 2023
New syntax for the "as" proposal
💡 Ideas
proposal
4
589
March 21, 2021