Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions