Sunday, July 28, 2019

JavaScript "magic"

strange parts of language...

Why (! + [] + [] + ![]).length is 9 - DEV Community 👩‍💻👨‍💻

(! + [] + [] + ![]).length === 9

https://twitter.com/flaviocopes/status/1150649630767624192

No comments: