UNPKG

yhtml5-test

Version:

A test framework for front-end projects

8 lines (7 loc) 180 B
// 20.2.2.34 Math.trunc(x) var $export = require('./$.export'); $export($export.S, 'Math', { trunc: function trunc(it){ return (it > 0 ? Math.floor : Math.ceil)(it); } });