Skip to content

Instantly share code, notes, and snippets.

@allenfernzz
Forked from kentcdodds/comments.js
Created June 11, 2018 20:12
Show Gist options
  • Select an option

  • Save allenfernzz/78c0c1bd94714f80650819b13a8cbeed to your computer and use it in GitHub Desktop.

Select an option

Save allenfernzz/78c0c1bd94714f80650819b13a8cbeed to your computer and use it in GitHub Desktop.
A handy trick with multiline code comments I learned from Matt Zabriskie
// 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