Merge pull request #600 from nguyen-le/master

Javascript Postincrementers
This commit is contained in:
Louis Pilfold 2015-07-17 18:05:31 +01:00
commit 08fc83482b

View File

@ -88,12 +88,12 @@ snippet ret
# for loop
snippet for
for (var ${2:i} = 0, l = ${1:arr}.length; $2 < l; $2 ++) {
for (var ${2:i} = 0, l = ${1:arr}.length; $2 < l; $2++) {
var ${3:v} = $1[$2];${0:}
}
# Reversed for loop
snippet forr
for (var ${2:i} = ${1:arr}.length - 1; $2 >= 0; $2 --) {
for (var ${2:i} = ${1:arr}.length - 1; $2 >= 0; $2--) {
var ${3:v} = $1[$2];${0:}
}
# While loop