Skip to content

Instantly share code, notes, and snippets.

@rf-
Created July 31, 2010 04:36
Show Gist options
  • Save rf-/501762 to your computer and use it in GitHub Desktop.
Save rf-/501762 to your computer and use it in GitHub Desktop.
~/bin/src/coffee-script $ coffee -pe "thing[stuff()] ?= 5"
(function() {
var _a, _b;
thing[(_a = stuff())] = (typeof (_b = thing[(_a = stuff())]) !== "undefined" && _b !== null) ? thing[_a] : 5;
})();
should be
~/bin/src/coffee-script $ coffee -pe "thing[stuff()] ?= 5"
(function() {
var _a, _b;
thing[(_a = stuff())] = (typeof (_b = thing[_a]) !== "undefined" && _b !== null) ? thing[_a] : 5;
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment