7 lines
167 B
JavaScript
7 lines
167 B
JavaScript
|
if ( !( this instanceof ctor ) )
|
||
|
{
|
||
|
return new ctor.apply(
|
||
|
null, arguments
|
||
|
);
|
||
|
}
|