Sha256: 90070c4620a9ff2e2839d458b682cbb5f2c623b56191d82008a2ea58e49e7a7c

Contents?: true

Size: 353 Bytes

Versions: 10

Compression:

Stored size: 353 Bytes

Contents

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;
  });
}

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
xcodebuild-helper-1.2.5 externals/ios-sim-master/node_modules/core-js/modules/es6.date.to-string.js
xcodebuild-helper-1.2.3 externals/ios-sim-master/node_modules/core-js/modules/es6.date.to-string.js
babel-schmooze-sprockets-0.1.3 node_modules/core-js/modules/es6.date.to-string.js
babel-schmooze-sprockets-0.1.2 node_modules/core-js/modules/es6.date.to-string.js
babel-schmooze-sprockets-0.1.1 node_modules/core-js/modules/es6.date.to-string.js
babel-schmooze-sprockets-0.1.0 node_modules/core-js/modules/es6.date.to-string.js
babel-schmooze-sprockets-0.1.0.alpha.3 node_modules/core-js/modules/es6.date.to-string.js
babel-schmooze-sprockets-0.1.0.alpha.2 node_modules/core-js/modules/es6.date.to-string.js
es6_tilt-0.1.2 test/dummy/node_modules/core-js/modules/es6.date.to-string.js
es6_tilt-0.1.1 test/dummy/node_modules/core-js/modules/es6.date.to-string.js