UNPKG

react-youtube-playlist

Version:

A react component for displaying the contents of a user's YouTube playlist.

10 lines 344 B
var DateProto = Date.prototype , INVALID_DATE = 'Invalid Date' , TO_STRING = 'toString' , $toString = DateProto[TO_STRING]; if(new Date(NaN) + '' != INVALID_DATE){ require('./$.redefine')(DateProto, TO_STRING, function toString(){ var value = +this; return value === value ? $toString.call(this) : INVALID_DATE; }); }