Consider the following code:
var v1 = 1;
var v2 = 2;
return v1, v2;
var v1 = 0;
var v2 = 0;
v1, v2 = callMeMaybe();
console.log(“The value of v1 is”, v1);
console.log(“The value of v2 is”, v2);
If the function theCaller is called, what will be written to the console?
Solved! Solved! Go to Solution.
This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.
As you’ll notice, your topic is now here in the Project Development Help and Advice board. No action is needed on your part; you can continue the conversation as normal here.
Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!