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
@git
first thought "golang" honestly pretty good, I'll take it I will take literally anything over try/catch
0 reply
0 recast
0 reaction