Skip to content

Commit

Permalink
move _.before gc conditional to a single line
Browse files Browse the repository at this point in the history
  • Loading branch information
akre54 committed Oct 31, 2014
1 parent bc50d7a commit 2115d56
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions underscore.js
Original file line number Diff line number Diff line change
Expand Up @@ -849,9 +849,7 @@
if (--times > 0) {
memo = func.apply(this, arguments);
}
if (times <= 1) {
func = null;
}
if (times <= 1) func = null;
return memo;
};
};
Expand Down

0 comments on commit 2115d56

Please sign in to comment.