This repository was archived by the owner on Apr 14, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change 1606
1606
function ( ) {
1607
1607
while ( enumerator . moveNext ( ) ) {
1608
1608
var current = enumerator . current ( ) ;
1609
- if ( ! keys . contains ( current ) ) {
1610
- keys . add ( current ) ;
1609
+ if ( keys . add ( current ) ) {
1611
1610
return this . yieldReturn ( current ) ;
1612
1611
}
1613
1612
}
1639
1638
function ( ) {
1640
1639
while ( enumerator . moveNext ( ) ) {
1641
1640
var current = enumerator . current ( ) ;
1642
- if ( ! outs . contains ( current ) && keys . contains ( current ) ) {
1643
- outs . add ( current ) ;
1641
+ if ( keys . contains ( current ) && outs . add ( current ) ) {
1644
1642
return this . yieldReturn ( current ) ;
1645
1643
}
1646
1644
}
1697
1695
if ( secondEnumerator === undefined ) {
1698
1696
while ( firstEnumerator . moveNext ( ) ) {
1699
1697
current = firstEnumerator . current ( ) ;
1700
- if ( ! keys . contains ( current ) ) {
1701
- keys . add ( current ) ;
1698
+ if ( keys . add ( current ) ) {
1702
1699
return this . yieldReturn ( current ) ;
1703
1700
}
1704
1701
}
1705
1702
secondEnumerator = Enumerable . from ( second ) . getEnumerator ( ) ;
1706
1703
}
1707
1704
while ( secondEnumerator . moveNext ( ) ) {
1708
1705
current = secondEnumerator . current ( ) ;
1709
- if ( ! keys . contains ( current ) ) {
1710
- keys . add ( current ) ;
1706
+ if ( keys . add ( current ) ) {
1711
1707
return this . yieldReturn ( current ) ;
1712
1708
}
1713
1709
}
You can’t perform that action at this time.
0 commit comments