ShareCopy to ClipboardRawPreviewconst logBase = (n: number, base: number) => Math.log(n) / Math.log(base); Calculate logarithm00gioyikCodiga's TypeScript RecipesCalculates the logarithm of the given number in the given base.0 CommentsAdd CommentLog in to add a comment