Skip to content

Instantly share code, notes, and snippets.

@jonelf
Created September 28, 2018 14:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
x's in JavaScript
var p = (xᅠ, x, ᅠx) => console.log(xᅠ + ", " + x + ", " + ᅠx)
var xᅠ = 37;
p(xᅠ, x, ᅠx);
var x = 41;
p(xᅠ, x, ᅠx);
var ᅠx = 43;
p(xᅠ, x, ᅠx);
@jonelf
Copy link
Author

jonelf commented Mar 14, 2019

37, undefined, undefined
37, 41, undefined
37, 41, 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment