arithmetic operations on different data types

Report a typo

What will be the output of the following JavaScript code snippet?

var str1 = '100';
var num1 = 50;
var str2 = '50';
var result = str1 - num1 + str2;
Select one option from the list
___

Create a free account to access the full topic