We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 19271dc + 8513214 commit bb462d6Copy full SHA for bb462d6
snippets/language-javascript.cson
@@ -35,6 +35,9 @@
35
'for of':
36
'prefix': 'forof'
37
'body': 'for (var ${1:variable} of ${2:iterable}) {\n\t$3\n}'
38
+ 'forEach':
39
+ 'prefix' : 'foreach'
40
+ 'body' : 'forEach((${1:item}, ${2:i}) => {\n\t$3\n});\n'
41
'Function':
42
'prefix': 'fun'
43
'body': 'function ${1:functionName}($2) {\n\t$0\n}'
0 commit comments