Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / json-stringify-date / json-stringify-date.js
189 bytesRaw
1 | ; |
2 | |
3 | var stringify = require('json-stringify-date'); |
4 | var obj = { d: new Date(2014, 2, 4) }; |
5 | var s = stringify.stringify(obj); |
6 | if (s.indexOf('2014') >= 0) { |
7 | console.log('ok'); |
8 | } |
9 |
Built with git-ssb-web