Most important JavaScript interview Question.

Truthy values


Falsy values

In javascript language double equal check only value but triple equal check value and type.
Double equal only check the value
Triple equal check the type and value
  • Null
  • Undefined
  • Number
  • BigInt
  • String
  • Symbol
parseInt("30", 10) // 30
parseInt("55px", 10) // 50
parseInt(2.55, 10) // 2
parseFloat("30") // 30
parseFloat("55px") // 50
parseFloat(2.55) // 2.55



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Amina Anika

Amina Anika

I am a front-end developer. I love to know about new technologies.