|
|
|
|
|
by recursive
638 days ago
|
|
I don't think we'll ever see this. At least I hope we won't. Even specifying its behavior seems to be a nightmare. And you can basically just write it yourself. [val, err] ?= maybeThrow(); // instead of this
[val, err] = wrapErr(maybeThrow); // you can write wrapErr yourself and use it forever
[val, err] = wrapErr(maybeThrow, arg1, arg2); // you can even provide args
|
|