Tell us what’s happening:
What are constraints I should keep in mind? e.g. I can simply update the “Eight” to 8 or remove string from the number.
Is that what is needed? IMO maybe not?
Your code so far
const firstResult = 5 + 10;
console.log(`5 + 10 = ${firstResult}`);
const secondResult = 8 - 5;
console.log(`8 - 5 = ${secondResult}`);
const thirdResult = 1 + 5;
console.log(`1 + 5 = ${thirdResult}`);
const fourthResult = 0 + 8;
console.log(`0 + 8 = ${fourthResult}`);
const fifthResult = 10 * 2;
console.log(`10 * 2 = ${fifthResult}`);
const sixthResult = null + 22;
console.log(`0 + 22 = ${sixthResult}`);
Your browser information:
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36
Challenge Information:
Debug Type Coercion Errors in a Buggy App - Debug Type Coercion Errors in a Buggy App