Created
February 18, 2015 16:52
-
-
Save mraleph/d4de27517dcd5427f936 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function f(x, y) { | |
x = 'Q: why?'; | |
console.log(arguments[0]); | |
arguments[1] = 'A: just because'; | |
console.log(y); | |
} | |
f(null, null); | |
// Q: why? | |
// A: just because | |
f(); | |
// undefined | |
// undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment