4 ms·
lhs && rhs lhs || rhs lhs , rhs Given the way js evaluates these, the comma operator seems like it should fit in nicely. I would have made this the first a
by SoftwareMaven 15y ago
lhs && rhs
lhs || rhs
lhs , rhs
Given the way js evaluates these, the comma operator seems like it should fit in nicely. I would have made this the first argument in my case for using the comma.