MCPcopy Create free account
hub / github.com/cujojs/poly / has

Function has

date.js:44–47  ·  view source on GitHub ↗
(feature)

Source from the content-addressed store, hash-verified

42 };
43
44 function has (feature) {
45 var prop = featureMap[feature];
46 return prop in origDate || prop in origProto;
47 }
48
49 if (!has('date-now')) {
50 origDate.now = function () { return +(new Date); };

Callers 2

date.jsFile · 0.70
checkShimsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected