logo

Crowdly

Browser

Add to Chrome

Look at the following JavaScript code: var a=2; var b=4; function resetVa...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Look at the following JavaScript code:

var a=2;

var b=4;

function resetValues() {

   var a=5;

   b=10;

}

resetValues();

Which of the following statements would be true after this code was executed?

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.gla.ac.uk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome