What would be the result of 3+2+“7” in javascript?
57 will be the result. Since 3+2 are integer so addition will be done and 7 is string which will be concatenated with the result.
1 Like
What would be the result of 3+2+“7” in javascript?
57 will be the result. Since 3+2 are integer so addition will be done and 7 is string which will be concatenated with the result.