I run the factorial function first in app.js synchronously on a shared thread. And then in app.worker.js on a separate asynchronous thread. In a separate asynchronous thread, the function should run faster. However, I have everything conversely.codesandbox
codesanbox session is closed…