Guest User

Untitled

a guest
Jun 21st, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. ```js
  2. {
  3. // Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and
  4. // description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
  5. // $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
  6. // same ids are connected.
  7. // Example:
  8. "Print to console": {
  9. "prefix": "log",
  10. "body": [
  11. "console.log('___ DEBUG - $1', $2);",
  12. ],
  13. "description": "Log output to console"
  14. },
  15. "Print to console a stringyfied object in JSON format": {
  16. "prefix": "stringyLog",
  17. "body": [
  18. "console.log('___ DEGUB - $1', JSON.stringify($1, null, 2));",
  19. ],
  20. "description": "Log output to console"
  21. }
  22. }
  23. ```
Add Comment
Please, Sign In to add comment