Files
mongo/jstests/core/server25192.js
2016-07-26 17:22:53 -04:00

13 lines
232 B
JavaScript

(function() {
"use strict";
var x = {};
assert.doesNotThrow(function() {
Object.extend(x, {a: null}, true);
}, [], "Extending an object with a null field does not throw");
assert.eq(x.a, null);
}());