JavaScript Program to Find the Factors of a Number | Vultr Docs