|
|
|
|
|
by msimpson
3252 days ago
|
|
I will never understand why these examples are considered abuse as they exhibit standard behavior. It's just as if I were to write the following JavaScript: node.classList[ isHidden ? 'add' : 'remove' ]( 'hide' );
I'm simply using a ternary and a bit of reflection, but the arguments regarding "correctness" this engenders... |
|