mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-06 09:28:26 +08:00
Remove live code & console.log, leave examples as comments (ProjectEuler, Recursive).
This commit is contained in:
@ -27,11 +27,4 @@ function euclideanGCDIterative (first, second) {
|
||||
return first
|
||||
}
|
||||
|
||||
function main () {
|
||||
const first = 20
|
||||
const second = 30
|
||||
console.log('Recursive GCD for %d and %d is %d', first, second, euclideanGCDRecursive(first, second))
|
||||
console.log('Iterative GCD for %d and %d is %d', first, second, euclideanGCDIterative(first, second))
|
||||
}
|
||||
|
||||
main()
|
||||
export { euclideanGCDIterative, euclideanGCDRecursive }
|
||||
|
Reference in New Issue
Block a user