Files
mongo/jstests/core/server25192.js
2023-08-06 20:48:04 +00:00

8 lines
172 B
JavaScript

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);