Question: QUESTION 4 Consider the following code. vara = 0 , b = 0 ; function computex ( ) { var a = 4 ; varb
QUESTION
Consider the following code.
vara;
function computex
var ;
varb;
computeY ;
;
return a;
function computey
;
return ;
Suppose there is no other code available to run, other than what is shown above. Answer the following
questions ab:
a What value will combuteX return?
b What value will computeY return?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
