es.math.trunc.js 210 B

12345678
  1. var $ = require('../internals/export');
  2. var trunc = require('../internals/math-trunc');
  3. // `Math.trunc` method
  4. // https://tc39.es/ecma262/#sec-math.trunc
  5. $({ target: 'Math', stat: true }, {
  6. trunc: trunc
  7. });