JavaScript Obtenha um número aleatório com 6 dígitos

Math.floor(100000 + Math.random() * 900000);
Dangerous Dog