]> git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/vim-mode/node_modules/grim/node_modules/emissary/node_modules/es6-weak-map/node_modules/es5-ext/test/date/#/copy.js
767c5e16a4d053742bbba36f1bbfbb160757ba08
[rbdr/dotfiles] / atom / packages / vim-mode / node_modules / grim / node_modules / emissary / node_modules / es6-weak-map / node_modules / es5-ext / test / date / # / copy.js
1 'use strict';
2
3 module.exports = function (t, a) {
4 var o = new Date(), o2;
5
6 o2 = t.call(o);
7 a.not(o, o2, "Different objects");
8 a.ok(o2 instanceof Date, "Instance of Date");
9 a(o.getTime(), o2.getTime(), "Same time");
10 };