JavaScript - Guess the Output

Veröffentlicht am: 11 Juni 2024
auf dem Kanal: 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! 🔔


Auf dieser Seite können Sie das Online-Video JavaScript - Guess the Output mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Proto Coders Point 11 Juni 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 387 Mal angesehen und es wurde von 18 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!