Something awesome in javascript

Hi there, My name is Nirav. I am from India. Currently I am learning Java and Dsa. I can code in Html, Css, Javascript, Python ⭐ My projects:
- https://pro-quiz-app.herokuapp.com
- https://guessnumberofficial.netlify.app ✨ GitHub: https://github.com/Niravprajapati1/
Hey folks, you are know JavaScript. Today i want to tell you some awesome things about javascript. Just try this console.log(5 - "4"); I am trying to subtract a string from number and it's works You will get 1 Then console.log(5 + "4"); Output is 54
Console.log(true+true); And you will get 2 as output because in javascript true contain 1 and false contain 0
I hope you enjoyed this article. My name is Nirav and I am a frontendweb developer. For more articles like that, you can follow me on Twitter



