Created
April 16, 2020 20:20
-
-
Save rjcorwin/44603092bbf746e460c15aaafd657123 to your computer and use it in GitHub Desktop.
How to put a debugger statement in a Javascript template literal.
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
var foo = ` | |
Here is a debugger statment in a template... | |
${(()=>{ debugger })()} | |
` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment