Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101109890
_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, Feb 5, 20:25
Size
496 B
Mime Type
text/x-java
Expires
Fri, Feb 7, 20:25 (2 d)
Engine
blob
Format
Raw Data
Handle
24097222
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