1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-05 15:00:50 +00:00
Files
musix-oss/node_modules/object.assign/shim.js
MatteZ02 30022c7634 Modules
2020-03-03 22:30:50 +02:00

15 lines
305 B
JavaScript

'use strict';
var define = require('define-properties');
var getPolyfill = require('./polyfill');
module.exports = function shimAssign() {
var polyfill = getPolyfill();
define(
Object,
{ assign: polyfill },
{ assign: function () { return Object.assign !== polyfill; } }
);
return polyfill;
};