Skip to content

Instantly share code, notes, and snippets.

@gausby
Created January 13, 2015 09:40
Show Gist options
  • Select an option

  • Save gausby/9000befc6e84380ac88d to your computer and use it in GitHub Desktop.

Select an option

Save gausby/9000befc6e84380ac88d to your computer and use it in GitHub Desktop.
Awesome comment technique for really sloppy hacking
// observe!
/**/ /*/ /**/
// then look at this:
/** / /*/ /**/
// you can use it to switch between to blocks of code, in this case test is equal to 'foo'
/**/
var test = 'foo'
/*/
var test = 'bar'
/**/
// and in this case test = 'bar'
/** /
var test = 'foo'
/*/
var test = 'bar'
/**/
// awesome coding technique!
// that is all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment