13 July 2018
tags:
isNaN('') /* prints false / / you are telling me an empty string is a number? */
javascript, you so silly
edit:
bonus:
isNaN(null) /* prints false / / you are telling me null IS a number? */
- Previous: Angular Elements Gotcha
- Next: Webpack HTML plugin pitfall