This commit is contained in:
Ray Elliott 2021-11-05 09:40:50 +00:00
commit 4956fe8431
5 changed files with 31 additions and 8 deletions

View file

@ -12,6 +12,22 @@ snippet cl "console.log( ... )"
console.log($0);
endsnippet
snippet cw "console.warn( ... )"
console.warn($0);
endsnippet
snippet f "for (...)"
for (let index=0; index < $1; index += 1) {
$0
}
endsnippet
snippet fr "for (...)"
for (let index=${1:0}; index ${2:<} $3; index ${4:+=} ${5:1}) {
$0
}
endsnippet
snippet .fe "...forEach( ... );" i
.forEach(($1) => {
$0