Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In the follow code, what are the values of a and z? var a = 3; var b = 4; var c = a+b-2; var
In the follow code, what are the values of a and z?
var a = 3; var b = 4; var c = a+b-"2"; var x = "3"; var y = 4; var z = x+y-2;
a=5 and z=32 | ||
a=5 and z=5 | ||
a=5 and z=NaN | ||
a=5 and z="32" |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started