Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100841831
_object_spread.mjs
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 3, 04:55
Size
608 B
Mime Type
text/x-java
Expires
Wed, Feb 5, 04:55 (2 d)
Engine
blob
Format
Raw Data
Handle
24040507
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
_object_spread.mjs
View Options
import defineProperty from './_define_property.mjs';
export default function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
var ownKeys = Object.keys(source);
if (typeof Object.getOwnPropertySymbols === 'function') {
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
}));
}
ownKeys.forEach(function (key) {
defineProperty(target, key, source[key]);
});
}
return target;
}
Event Timeline
Log In to Comment