obtener solo entero, no decimal js

var n = 5/3
n = Math.floor(n)
//This will return 1. 
//Math.floor returns a number less than or equal the number given
DajuSar