String operation

Report a typo

Match the correct outputs to the string operations.

Match the items from left and right columns
console.log(24 - "20");
console.log(24 + 20);
console.log("24" + 20);
console.log("24"- "20" + "4");
console.log("24" - "20" + 4);
4
'2420'
8
'44'
44
___

Create a free account to access the full topic