blob: 86f742454709820c8231694af0061f4d4dedc13a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
{
"Array For Loop": {
"prefix": "fora",
"body": [
"for (var ${1:i} = 0; ${1:i} < ${2:array}.length; ${1:i}++) {",
" var ${3:each} = ${2:array}[${1:i}];",
" $0",
"}"
],
"description": "Array For Loop"
},
"For Comprehension": {
"prefix": "for",
"body": [
"for (var ${1:each} : ${2:collection}) {",
" $0",
"}"
],
"description": "For Comprehension"
}
}
|