Some of the money was paid directly to her landlord and some of it to her bank account.
It works in Node.js and the browser (using a bundler). Emitting events asynchronously is important for production code where you want the least amount of synchronous operations. Since JavaScript is ...