Your IP : 3.137.175.166


Current Path : /opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/node_modules.bundled/util-extend/
Upload File :
Current File : //opt/alt/alt-nodejs11/root/usr/lib/node_modules/npm/node_modules.bundled/util-extend/test.js

var assert = require('assert');
var extend = require('./');
assert.deepEqual(extend({a:1}),             {a:1});
assert.deepEqual(extend({a:1}, []),         {a:1});
assert.deepEqual(extend({a:1}, null),       {a:1});
assert.deepEqual(extend({a:1}, true),       {a:1});
assert.deepEqual(extend({a:1}, false),      {a:1});
assert.deepEqual(extend({a:1}, {b:2}),      {a:1, b:2});
assert.deepEqual(extend({a:1, b:2}, {b:3}), {a:1, b:3});
console.log('ok');

?>