// numeric string used with + gives string type
`1)result = ‘3’ + 2;
console.log(result)
2)result = ‘3’ + true;
console.log(result);
3)result = ‘3’ + undefined;
console.log(result); `
// numeric string used with + gives string type
`1)result = ‘3’ + 2;
console.log(result)
2)result = ‘3’ + true;
console.log(result);
3)result = ‘3’ + undefined;
console.log(result); `
1 - 32, 2 - true, 3 - undefined
first is 32 second is 3true and third is 3undefined
results are 5, 3 string, 3 undefinde
outputs are 32,true,undefined
Thanks Everyone for your participation…
The correct answers are first is 32 second is 3true and third is 3undefined.
Results are :32, 3true, 3undefined