MCPcopy Create free account
hub / github.com/RubyLouvre/anu / dateToJSON

Function dateToJSON

test/json3.js:393–395  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

391 if (has("json-stringify") && !has("date-serialization")) {
392 // Internal: the `Date#toJSON` implementation used to override the native one.
393 function dateToJSON (key) {
394 return serializeDate(this);
395 }
396
397 // Public: `JSON.stringify`. See ES 5.1 section 15.12.3.
398 var nativeStringify = exports.stringify;

Callers

nothing calls this directly

Calls 1

serializeDateFunction · 0.85

Tested by

no test coverage detected