summaryrefslogtreecommitdiff
path: root/jstests/core/server25192.js
blob: e07cfdcf50c2f8b91a3fc36d951660132ea6cbaa (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);
}());