home
This commit is contained in:
parent
a71a3b5593
commit
cb52890889
16657 changed files with 1483086 additions and 1 deletions
12
home/ags/node_modules/es-abstract/2022/TimeWithinDay.js
generated
vendored
Normal file
12
home/ags/node_modules/es-abstract/2022/TimeWithinDay.js
generated
vendored
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
var modulo = require('./modulo');
|
||||
|
||||
var msPerDay = require('../helpers/timeConstants').msPerDay;
|
||||
|
||||
// https://262.ecma-international.org/5.1/#sec-15.9.1.2
|
||||
|
||||
module.exports = function TimeWithinDay(t) {
|
||||
return modulo(t, msPerDay);
|
||||
};
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue