Skip to content

Repository files navigation

Project Euler in javascript

This is an experiment of solving https://projecteuler.net/ problems using Javascript. Code must work only in Chrome; so latest ES6 is allowed. These little programs make use of:

  • generators
  • spread operator
  • destructuring assignment
  • Set
  • for... of
  • arrow notation
functiondivisors(nb){letres=newSet();for(letcombiofcombinations(primeFactors(nb)))res.add(combi.reduce((res,nb)=>res*nb,1));return[...res];}

About

Solving Project Euler problems in Javascript (ES6)

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages