|
|
@@ -16,7 +16,7 @@ var errors = require("../../Errors.js"),
|
|
|
// File: expression_leaf.h lines: 294-294
|
|
|
// ArrayFilterEntries _arrayEntries;
|
|
|
|
|
|
-proto._arrayEntries = undefined;
|
|
|
+proto._arrayEntries = null;
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
@@ -27,7 +27,7 @@ proto._arrayEntries = undefined;
|
|
|
*/
|
|
|
proto._matchesRealElement = function _matchesRealElement( e ) { // const BSONElement& e
|
|
|
// File: expression_leaf.cpp lines: 422-431
|
|
|
- if( e in this._arrayEntries ) {
|
|
|
+ if(this._arrayEntries.contains(e)) { // array wrapper.... so no e "in" array
|
|
|
return true;
|
|
|
}
|
|
|
|