how to do coercion in javascript code example
Example: coercion javascript
const value1 = '5';
const value2 = 9;
let sum = Number(value1) + value2;
console.log(sum);
const value1 = '5';
const value2 = 9;
let sum = Number(value1) + value2;
console.log(sum);