Question: Consider the following JavaScript code: 1. var x = 15; 2. var y = 15; 3. x == y; 4. x===y (a) What is the
Consider the following JavaScript code:
1. var x = 15;
2. var y = "15";
3. x == y;
4. x===y
(a) What is the resulting value of line3 and why?
(b) What is the resulting value of line4 and why?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
