Content
@
0 reply
0 recast
2 reactions
Royal
@royalaid.eth
YOOOOOOOOOOOOOOOOOOO I am so in for this //currently const obj = { [Symbol.result]() { return [new Error("Error"), null] }, } //becomes const [error, data] ?= obj // const [error, data] = obj[Symbol.result]() https://github.com/arthurfiorette/proposal-safe-assignment-operator @git you seen this?
3 replies
0 recast
7 reactions
Ethan Rouimi
@0xethanol
I love this idea, js becoming a bit more like go
0 reply
0 recast
0 reaction