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.
1 parent 39fd698 commit 7af525eCopy full SHA for 7af525e
snippets/language-javascript.cson
@@ -28,7 +28,7 @@
28
'body' : 'for (var ${2:i} = 0; ${2:i} < ${1:array}.length; ${2:i}++) {\n\t${1:array}[${2:i}]$3\n}'
29
'for in':
30
'prefix': 'forin'
31
- 'body': 'for (var ${1:variable} in ${2:object}) {\n\t${3:if (${2:object}.hasOwnProperty(${1:variable})) {\n\t\t$4\n\t}}\n}'
+ 'body': 'for (var ${1:variable} in ${2:object}) {\n\t${3:if (${2:object}.hasOwnProperty(${1:variable})) {\n\t\t$4\n\t\\}}\n}'
32
'for of':
33
'prefix': 'forof'
34
'body': 'for (${1:variable} of ${2:iterable}) {\n\t$3\n}'
0 commit comments