DEV Community

Discussion on: Remembering that "functions are objects" can help in writing more concise code

Collapse
 
somedood profile image
Basti Ortiz

Thanks! However, as mentioned by jburgy, we do have to be aware of some weird outliers.

You do have to be careful with things like

['0', '1', '2'].map(parseInt)