Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.

Cancel

conditional property

node v15.14.0
version: 2.0.0
endpointsharetweet
const b = 'bar'; const c = undefined; const x = { a: 'foo', ...(b && { b }), ...(c && { c }), };
Loading…

no comments

    sign in to comment