-
-
Save allenfernzz/78c0c1bd94714f80650819b13a8cbeed to your computer and use it in GitHub Desktop.
A handy trick with multiline code comments I learned from Matt Zabriskie
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
| // here's a handy trick: | |
| /* | |
| console.log('any code') | |
| /**/ | |
| // It takes just one character change | |
| // to uncomment out all the code above: | |
| //* | |
| console.log('any code') | |
| /**/ | |
| // Photo by Kafai Liu on Unsplash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment