Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100308117
_inherits.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
Wed, Jan 29, 20:44
Size
496 B
Mime Type
text/x-java
Expires
Fri, Jan 31, 20:44 (2 d)
Engine
blob
Format
Raw Data
Handle
23851341
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
_inherits.mjs
View Options
import setPrototypeOf from './_set_prototype_of.mjs';
export default function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function");
}
subClass.prototype = Object.create(superClass && superClass.prototype, {
constructor: {
value: subClass,
writable: true,
configurable: true
}
});
if (superClass) setPrototypeOf(subClass, superClass);
}
Event Timeline
Log In to Comment