3 ms·
I'm too lazy even to click and read it, but you mean stuff like: const x = y || 3; ?
by sfblah 5y ago
I'm too lazy even to click and read it, but you mean stuff like:
const x = y || 3;
?
- deleted 5y ago[deleted]
- jstanley 5y agoProbably more like: $y>5 || die "y should be greater than 5";
- thaumasiotes 5y agoThat would be a short-circuiting logical operator.