forked from babel/babel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
output.js
16 lines (13 loc) 路 765 Bytes
/
output.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
var x;
var y;
var z;
z = _extends({
x
}, y);
z = {
x,
w: _extends({}, y)
};
const rest = _objectWithoutPropertiesLoose(z, ["q"]);