3 ms·
I don't agree. Replacing all occurrences of default values that use || with a 3 rows long if case would hurt readability. There are many valid cases where the
by zongitsrinzler 11y ago
I don't agree. Replacing all occurrences of default values that use || with a 3 rows long if case would hurt readability.
There are many valid cases where the incoming parameter could be either undefined or null.