Version 1
[yaffs-website] / node_modules / core-js / modules / es6.math.trunc.js
1 // 20.2.2.34 Math.trunc(x)
2 var $export = require('./_export');
3
4 $export($export.S, 'Math', {
5   trunc: function trunc(it){
6     return (it > 0 ? Math.floor : Math.ceil)(it);
7   }
8 });