8000 Remove more unused variables in debug builds. · lodash/lodash@958d4db · GitHub
[go: up one dir, main page]

Skip to content

Commit 958d4db

Browse files
committed
Remove more unused variables in debug builds.
Former-commit-id: dd50d5d0b855a85ca8099d92288f2ca621a532fa< 8000 /span>
1 parent f2b350e commit 958d4db

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2355,6 +2355,10 @@
23552355
}
23562356
if ((source.match(/\bcreateIterator\b/g) || []).length < 2) {
23572357
source = removeFunction(source, 'createIterator');
2358+
source = removeVar(source, 'defaultsIteratorOptions');
2359+
source = removeVar(source, 'eachIteratorOptions');
2360+
source = removeVar(source, 'forOwnIteratorOptions');
2361+
source = removeVar(source, 'templateIterator');
23582362
source = removeHasDontEnumBug(source);
23592363
source = removeHasEnumPrototype(source);
23602364
}

0 commit comments

Comments
 (0)
0