Match the following variables assignments with their actual

Match the following variables assignments with their actual value.

A. Doe, Joe

B. 5

C.4

D. 13

E. 3.1622776601683795

1. var integerVal = 5;

2. var sqrVal = Math.pow(2,2);

3. var sqrtOf10 = Math.sqrt(10);

4. var fullName = \"Doe, \" + \"Joe\";

5. var someValue = 5 + Math.pow(2,1) + Number(6);

Solution

A for option 4

B for option 1

C for option 2(Math.sqrt(2,2)=2*2=4)

D for option 5 (5+2+6=13)

E for option 3

Match the following variables assignments with their actual value. A. Doe, Joe B. 5 C.4 D. 13 E. 3.1622776601683795 1. var integerVal = 5; 2. var sqrVal = Math.

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site