From 9199ab584667357122637df49eb96919b0a04eb8 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Sun, 20 Oct 2019 15:19:19 +0800 Subject: minor tweaks (#3502) --- lib/utils.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lib/utils.js') 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); -- cgit v1.2.3