Skip to content

Instantly share code, notes, and snippets.

@StanAngeloff
Created March 31, 2010 23:13
Show Gist options
  • Save StanAngeloff/351069 to your computer and use it in GitHub Desktop.
Save StanAngeloff/351069 to your computer and use it in GitHub Desktop.
[stan@psp-stan-arch coffee-script]$ bin/coffee -ce 'a[-1]'
var _a;
(_a = a)[-1 + _a.length];
[stan@psp-stan-arch coffee-script]$ bin/coffee -ce 'a?[-1]'
var _a, _b, _c;
(_a = a) == undefined ? undefined : ((_c = _a)[-1 + _c.length]);
[stan@psp-stan-arch coffee-script]$ bin/coffee -ce 'a?[-1]?[-1]'
var _a, _b, _c, _d, _e, _f;
(_d = (_a = a) == undefined ? undefined : (_b = (_c = _a)[-1 + _c.length])) == undefined ? undefined : ((_f = _d)[-1 + _f.length]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment