Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e254b8c

Browse filesBrowse files
committed
Minor improvement
1 parent 585b71f commit e254b8c
Copy full SHA for e254b8c

File tree

Expand file treeCollapse file tree

3 files changed

+4
-6
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+4
-6
lines changed

‎dist/immutable.js

Copy file name to clipboardExpand all lines: dist/immutable.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,8 +3102,7 @@
31023102
var iterations = 0;
31033103
iterable.__iterate(function(v, k, c) {
31043104
if (predicate.call(context, v, k, c)) {
3105-
iterations++;
3106-
return fn(v, useKeys ? k : iterations - 1, this$0);
3105+
return fn(v, useKeys ? k : iterations++, this$0);
31073106
}
31083107
}, reverse);
31093108
return iterations;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.