At first glance, null and undefined may seem the same, but they are far from it. This article will explore the differences and similarities between null and undefined in JavaScript. Here’s an example. We assign the value of null to a:…
Source: https://codeburst.io/javascript-null-vs-undefined-20f955215a2