Guess the JavaScript Output: Level impossible!

guess-the-javascript-output:-level-impossible!

This post is part of a series called Guess the JavaScript Output
If you like to read Part 1 of the series, see here

So, without any ado, let’s get to it:

Today’s question(Super tricky):

What does console.log((! + [] + [] + ![]).length) output in JavaScript?

Big Mike solved this in 2 minutes. Can you beat big Mike on this one?

And Yes, JavaScript is officially crazy!

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
match-case:-a-switch-case-statement-of-python

Match Case: A Switch Case Statement of Python

Next Post
how-to-close-a-project-in-prince2

How To Close A Project In PRINCE2

Related Posts