Created
April 10, 2021 16:22
-
-
Save GaetanoPiazzolla/89bc0abda50b449b89db7d9a943ae353 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const execute = (num) => { | |
let result = 0; | |
for (let i = Math.pow(num, 7); i >= 0; i--) { | |
result += Math.atan(i) * Math.tan(i); | |
} | |
return result; | |
} | |
module.exports = { | |
execute | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to medium article: https://gae-piaz.medium.com/achieve-the-best-performance-10x-faster-node-js-with-worker-threads-97fc2890e40f