仪表盘
版本库
文件存储
活动
搜索
登录
productDev
/
lianhelihua_sh
联合利华(上海)
概况
操作记录
提交次数
目录
文档
分支
对比
blame
|
历史
|
原始文档
优化
MrShi
2025-08-19
30e858fa504b268b9b436afca0a1259cf6e8c488
[productDev/lianhelihua_sh.git]
/
h5
/
node_modules
/
core-js
/
internals
/
math-trunc.js
1
2
3
4
5
6
7
8
9
10
11
'use strict';
var ceil = Math.ceil;
var floor = Math.floor;
// `Math.trunc` method
// https://tc39.es/ecma262/#sec-math.trunc
// eslint-disable-next-line es/no-math-trunc -- safe
module.exports = Math.trunc || function trunc(x) {
var n = +x;
return (n > 0 ? floor : ceil)(n);
};