git ssb

0+

cel-desktop / ssb-pkg



Tree: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44

Files: c5c7a8ffadbd51aa28a5f3f096fe43f69405da44 / test / test-79-npm / json-stringify-date / json-stringify-date.js

189 bytesRaw
1'use strict';
2
3var stringify = require('json-stringify-date');
4var obj = { d: new Date(2014, 2, 4) };
5var s = stringify.stringify(obj);
6if (s.indexOf('2014') >= 0) {
7 console.log('ok');
8}
9

Built with git-ssb-web