summaryrefslogtreecommitdiff
path: root/jstests/core/server25192.js
blob: a275c768f71d73ff9cf6f496f5ac7c9cc483a6e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
(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);
}());