This is an excellent example (YMMV). It raises a question: `Is there a guide for JS development in Nim?`
I looked in the "docs", and "learn" and came across [Nim backend integration](https://nim-lang.org/docs/backends.html#nim-code-calling-the-backend-javascript-invocation-example) Should an FAQ question be added, something like `"How do I use Nim to write a JS App"?`