Files
mongo/jstests/core/server25192.js
2019-07-27 11:02:23 -04:00

13 lines
208 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);
}());