We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
It will be better to also have aleastCommonMultiple function for an array where I could pass an array of elements and get the result.
leastCommonMultiple
exportdefaultfunctionleastCommonMultiple(a,b){return((a===0)||(b===0)) ?0 :Math.abs(a*b)/euclideanAlgorithm(a,b);}