Blame view
node_modules/es5-ext/object/assign/is-implemented.js
260 Bytes
f7563de62
|
1 2 3 4 5 6 7 8 9 |
'use strict'; module.exports = function () { var assign = Object.assign, obj; if (typeof assign !== 'function') return false; obj = { foo: 'raz' }; assign(obj, { bar: 'dwa' }, { trzy: 'trzy' }); return (obj.foo + obj.bar + obj.trzy) === 'razdwatrzy'; }; |