Skip to content

Instantly share code, notes, and snippets.

@jonelf
Created Sep 28, 2018
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