Back to All Challenges
Back to all challenges

Curious Case of the Swapping Function

Solve the "Curious Case of the Swapping Function" advanced challenge. Focus: javascript syntax.

advancedjavascript

Terminal

user@debugger:~/project$ node app.js
The values of x and y remain unchanged after the function call.
user@debugger:~/project$
Test Cases (Click to expand)