trekhleb / javascript-algorithms

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings
MIT License
185.25k stars 29.89k forks source link

Create a factors.js #919

Closed zhiwei8 closed 1 year ago

zhiwei8 commented 1 year ago

Create a factors.js to find the factor of a number which is input by the user.