Created
January 13, 2015 09:40
-
-
Save gausby/9000befc6e84380ac88d to your computer and use it in GitHub Desktop.
Awesome comment technique for really sloppy hacking
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 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