Skip to content

Instantly share code, notes, and snippets.

@zwhitchcox
Created August 18, 2020 18:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zwhitchcox/a1912211724a7d27dccee2e4824a1848 to your computer and use it in GitHub Desktop.
Save zwhitchcox/a1912211724a7d27dccee2e4824a1848 to your computer and use it in GitHub Desktop.
Console.log variables and names without retyping in Javascript
// 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