You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Borrowing from the idea of unwrap in jquery, and an infamous idea of using an assignment operator ie
const [error, data] ?= await doSomething();
i suggest we use this concept in z.js, introduce that assignment operator inform of a helper function or use a transpiler like for typescript. As we await the TC39 update on this in ECMA, which might never happen but fingers crossed.
This will create easy to read and organized code.
The text was updated successfully, but these errors were encountered:
Borrowing from the idea of unwrap in jquery, and an infamous idea of using an assignment operator ie
const [error, data] ?= await doSomething();
i suggest we use this concept in z.js, introduce that assignment operator inform of a helper function or use a transpiler like for typescript. As we await the TC39 update on this in ECMA, which might never happen but fingers crossed.
This will create easy to read and organized code.
The text was updated successfully, but these errors were encountered: