Skip to content

mariags803/primefactors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code kata: Prime Factors

Description

This function breaks down a natural number into its prime factors and returns them in ascending order.

Example

1   // => [1]
2   // => [2]
3   // => [3]
8   // => [2,2,2]
24  // => [2,2,2,3]

Run project

Install

npm install

Run test

npm test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published