Finding the greatest common divisor in TypeScriptPublished at:Published at:January, 12 2024Updated at:January, 25 2024#javascript#mathematic#typescriptFirst described in the classic geometry book Elements, by the ancient Greek mathematician Euclid (ca. 300 BC, at the book VII, proposition…
Understanding Tail Call Optimization With JavaScriptPublished at:Published at:October, 24 2023Updated at:October, 24 2023#algorithms#javascript#mathematic#Node.jsConsider the following function that calculates the factorial of a number: