1. Is there any difference between “null” and “undefined”?

  • If we declare a variable without assigning any value to it.
  • return statements that do not return anything.
  • Function parameters that have not passed.

2. What are the difference between “==” and “===”?




Rafi Aman

Learner | Enthusiastic | Noob Programmer

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