3 ms·
They’re referring to duplicate keys’ precedence. `a or b` prefers `a` if truthy, but `a | b` prefers b’s values.
by minitech 6y ago
They’re referring to duplicate keys’ precedence. `a or b` prefers `a` if truthy, but `a | b` prefers b’s values.
- Doxin 6y agoThat's because it's replicating the behavior of the update function. Again | doesn't mean or, so it shouldn't be expected to behave the same.