xxxxxxxxxx
const value1 = '5';
const value2 = 9;
let sum = Number(value1) + value2;
console.log(sum);
Coercion in javascript
xxxxxxxxxx
// Changing one data-type to another is called coercion.
// For example: if you change a number into string or
// string into number you are doing coercion