4 ms·
Do you mean this? [cond ? expr1 : expr2] Or maybe this: [(() => {/*code*/})()]
by MathMonkeyMan 4y ago
Do you mean this?
[cond ? expr1 : expr2]
Or maybe this:
[(() => {/*code*/})()]
- wruza 4y agoMore like this: [...(cond ? [expr1] : [])]