mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
Merge branch 'master' of git@github.com:mongodb/mongo
This commit is contained in:
commit
4f16eebd29
@ -273,7 +273,13 @@ Array.stdDev = function( arr ){
|
||||
}
|
||||
|
||||
Object.keySet = function( o ) {
|
||||
return [i for (i in o) if ( !( i in o.__proto__ && o[ i ] === o.__proto__[ i ] ) )];
|
||||
var ret = new Array();
|
||||
for( i in o ) {
|
||||
if ( !( i in o.__proto__ && o[ i ] === o.__proto__[ i ] ) ) {
|
||||
ret.push( i );
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
if ( ! ObjectId.prototype )
|
||||
|
Loading…
Reference in New Issue
Block a user