MCPcopy Create free account
hub / github.com/codrops/RainEffect / getConstructor

Function getConstructor

demo/js/index2.js:2673–2676  ·  view source on GitHub ↗
(C)

Source from the content-addressed store, hash-verified

2671 return same(a, b);
2672};
2673var getConstructor = function(C){
2674 var S = anObject(C)[SPECIES];
2675 return S != undefined ? S : C;
2676};
2677var isThenable = function(it){
2678 var then;
2679 return isObject(it) && typeof (then = it.then) == 'function' ? then : false;

Callers 1

index2.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected