Skip to content

Instantly share code, notes, and snippets.

@jonelf
Created September 28, 2018 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonelf/853989638d4fb9fd4e5adbb55efc8d61 to your computer and use it in GitHub Desktop.
Save jonelf/853989638d4fb9fd4e5adbb55efc8d61 to your computer and use it in GitHub Desktop.
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