summaryrefslogtreecommitdiffstats
path: root/node_modules/es-abstract/helpers/assign.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/es-abstract/helpers/assign.js')
-rw-r--r--node_modules/es-abstract/helpers/assign.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/node_modules/es-abstract/helpers/assign.js b/node_modules/es-abstract/helpers/assign.js
deleted file mode 100644
index 7e6666e..0000000
--- a/node_modules/es-abstract/helpers/assign.js
+++ /dev/null
@@ -1,22 +0,0 @@
-'use strict';
-
-var GetIntrinsic = require('../GetIntrinsic');
-
-var has = require('has');
-
-var $assign = GetIntrinsic('%Object%').assign;
-
-module.exports = function assign(target, source) {
- if ($assign) {
- return $assign(target, source);
- }
-
- // eslint-disable-next-line no-restricted-syntax
- for (var key in source) {
- if (has(source, key)) {
- // eslint-disable-next-line no-param-reassign
- target[key] = source[key];
- }
- }
- return target;
-};