Pull to refresh
0
0
Send message
По-моему вот так
const code = Math.floor(Math.random() * Math.pow(10,6)).toString().padStart(6, "0");

Будет чище. Не придется считать нули :)

Information

Rating
Does not participate
Registered
Activity