Mendapatkan qoutent dari nomor di JavaScript

var div = Math.trunc(y/x);
var rem = y % x;
Spotless Stork