Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 3


Solved! Go to Solution.

Consider the following code:


function callMeMaybe()


var v1 = 1;

var v2 = 2;


return v1, v2;


function theCaller()


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? 

2 Replies
Community Manager
Message 2 of 3

Re: callMeMaybe

Hi @BrookeRu,


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!

Commander Lvl 2
Message 3 of 3

Re: callMeMaybe

What programming language?

Please follow-up to let us know how you made out. For good karma, mark a reply as the answer if it helped!