2 ms·
Identity function is more confusing than just ()=>{} which is obviously noop because it doesn't return the input.
by hombre_fatal 7y ago
Identity function is more confusing than just ()=>{} which is obviously noop because it doesn't return the input.
- recursive 7y agoIf you don't provide an argument, it will use undefined, which is the same thing yours returns. Maybe it's more clear, but it's about even for me.