Created
August 18, 2020 18:08
-
-
Save zwhitchcox/a1912211724a7d27dccee2e4824a1848 to your computer and use it in GitHub Desktop.
Console.log variables and names without retyping in Javascript
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
// Simple Public Service Announcement | |
// You can add variables to your variables on console.log | |
// by using the es6 shorthand | |
```js | |
console.log({variable}) | |
``` | |
// I just realized that |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment