43 lines
981 B
JavaScript
43 lines
981 B
JavaScript
// Module ID: 3630
|
|
// Function ID: 3631
|
|
// Name: addMilliseconds
|
|
// Dependencies: [3479, 3475, 3476]
|
|
// Exports: default
|
|
|
|
// Module 3630 (addMilliseconds)
|
|
import toInteger from "toInteger" /* 3479 */;
|
|
import _typeof from "_typeof" /* 3475 */;
|
|
import requiredArgs from "requiredArgs" /* 3476 */;
|
|
|
|
if (!toInteger) {
|
|
let obj = { default: null };
|
|
obj[0] = toInteger;
|
|
let tmp3 = obj;
|
|
} else {
|
|
tmp3 = toInteger;
|
|
}
|
|
toInteger = tmp3;
|
|
if (!_typeof) {
|
|
obj = { default: null };
|
|
obj[0] = _typeof;
|
|
let tmp5 = obj;
|
|
} else {
|
|
tmp5 = _typeof;
|
|
}
|
|
_typeof = tmp5;
|
|
if (!requiredArgs) {
|
|
obj = { default: null };
|
|
obj[0] = requiredArgs;
|
|
let tmp7 = obj;
|
|
} else {
|
|
tmp7 = requiredArgs;
|
|
}
|
|
requiredArgs = tmp7;
|
|
|
|
export default function addMilliseconds(arg0, arg1) {
|
|
requiredArgs.default(2, arguments);
|
|
const time = _typeof.default(arg0).getTime();
|
|
const defaultResult1 = _typeof.default(arg0);
|
|
return new Date(time + toInteger.default(arg1));
|
|
};
|
|
export default exports.default;
|