2
0
mirror of https://github.com/webgefrickel/dotfiles synced 2024-11-09 13:10:27 +00:00
steffen-dotfiles/snippets/javascript.json

27 lines
631 B
JSON
Raw Normal View History

2021-12-05 10:25:22 +00:00
{
2023-04-08 20:45:12 +00:00
"simple-log": {
"prefix": "cl",
"body": "console.log(${0:data});",
"description": "Simple logging with console.log()"
},
2021-12-05 10:25:22 +00:00
"simple-debugging": {
"prefix": "bug",
"body": "console.log(${0:data});",
"description": "Simple debugging with console.log()"
},
"console-table": {
"prefix": "ct",
"body": "console.table(${0:data});",
"description": "console.table with parameters"
},
"module-exports": {
"prefix": "mod",
"body": [
"export default () => {",
"\t${0:const sth = 0; }",
2023-04-08 20:45:12 +00:00
"};"
2021-12-05 10:25:22 +00:00
],
"description": "Export default anonymous arrow function"
}
}