What is type coercion in javascript and how is it different from type conversion?
First, let us start easy by taking a look at type conversion.
In type conversion, we are explicitly mentioning the data type we want the variable holding the value to be converted to. Let us look at a few examples of type conversion
const inputYear =...
varun19.hashnode.dev4 min read