trunc number javascript

Math.trunc(number);
Marton