JavaScript - Guess the Output

Published: 11 June 2024
on channel: Proto Coders Point
387
18

In this video, we dive into a quicky JavaScript puzzle that stumped even seasoned developers! 🤔

Can you guess the output of the following code?
console.log(2 ++ 3);

It throws an error! But what happens if we add a space between the ++? Like this:
console.log(2 + + 3);

Comment your answer below! Let's see how many of you can crack this JavaScript mystery. 💡

Don't forget to like, share, and subscribe for more coding challenges and tips! 🔔


On this page of the site you can watch the video online JavaScript - Guess the Output with a duration of hours minute second in good quality, which was uploaded by the user Proto Coders Point 11 June 2024, share the link with friends and acquaintances, this video has already been watched 387 times on youtube and it was liked by 18 viewers. Enjoy your viewing!