Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100792108
inherits.js
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
Sun, Feb 2, 19:30
Size
512 B
Mime Type
text/x-java
Expires
Tue, Feb 4, 19:30 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
24035165
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
inherits.js
View Options
import
setPrototypeOf
from
"@babel/runtime/helpers/esm/setPrototypeOf"
;
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