Try making a ultimate slow program to square a number, or share a program you have made previously.
The slower the better.
But each iteration should do something, dont loop for ever and then print the square like this:
function square(x) {
while(true) {}
console.log(x*x)
}
Ok, now comment your slow program in the comments ;)
Join orbits community now: https://discord.gg/9hB4VJcw97
Top comments (4)
DISCLAIMER
This for all I know may crash the browser tab it's running in.
This is the stupidest way I could think of, maybe even a little far-fetched 😂
Just add 1s and create a new object for a*b times. Python implementation.
Try it online!
Could be even slower than that. 🤓