mirror of
https://github.com/hanzoai/core-js.git
synced 2026-09-24 16:58:15 +00:00
9 lines
210 B
JavaScript
9 lines
210 B
JavaScript
import now from 'core-js-pure/es/date/now';
|
|
|
|
QUnit.test('Date.now', assert => {
|
|
assert.isFunction(now);
|
|
assert.name(now, 'now');
|
|
assert.arity(now, 0);
|
|
assert.same(typeof now(), 'number', 'typeof');
|
|
});
|