diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2019-10-20 15:19:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-20 15:19:19 +0800 |
commit | 9199ab584667357122637df49eb96919b0a04eb8 (patch) | |
tree | ec987b4e53d8bce478636e6f89064e99e5e010f9 /lib/utils.js | |
parent | ca6dce43feb9d92cb5004c6ee4d5b2e0b4336d93 (diff) | |
download | tracifyjs-9199ab584667357122637df49eb96919b0a04eb8.tar.gz tracifyjs-9199ab584667357122637df49eb96919b0a04eb8.zip |
minor tweaks (#3502)
Diffstat (limited to 'lib/utils.js')
-rw-r--r-- | lib/utils.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/utils.js b/lib/utils.js index 6dcb631e..6ac68bbd 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -127,8 +127,7 @@ var MAP = (function() { } else { top.push(val); } - } - else if (val !== skip) { + } else if (val !== skip) { if (val instanceof Splice) { ret.push.apply(ret, backwards ? val.v.slice().reverse() : val.v); } else { @@ -145,8 +144,7 @@ var MAP = (function() { } else { for (i = 0; i < a.length; ++i) if (doit()) break; } - } - else { + } else { for (i in a) if (HOP(a, i)) if (doit()) break; } return top.concat(ret); |