Skip to content

Instantly share code, notes, and snippets.

@kirbysayshi
Created March 28, 2012 17:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kirbysayshi/2228570 to your computer and use it in GitHub Desktop.
Save kirbysayshi/2228570 to your computer and use it in GitHub Desktop.
+= kills things
var out = '', temp;
function doWhat(){
out += '<li>';
}
out += typeof (temp = doWhat()) === 'undefined' ? '' : temp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment