init
This commit is contained in:
10
node_modules/es5-ext/test/date/#/copy.js
generated
vendored
Normal file
10
node_modules/es5-ext/test/date/#/copy.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (t, a) {
|
||||
var o = new Date(), o2;
|
||||
|
||||
o2 = t.call(o);
|
||||
a.not(o, o2, "Different objects");
|
||||
a.ok(o2 instanceof Date, "Instance of Date");
|
||||
a(o.getTime(), o2.getTime(), "Same time");
|
||||
};
|
Reference in New Issue
Block a user