After compilation to js and run it in the browser I see in developer tools that window object has many variables. You can also detect them in [https://nim-lang.org/docs/theindex.html](https://nim-lang.org/docs/theindex.html)
[I've heard global variables are bad.](https://stackoverflow.com/questions/2613310/ive-heard-global-variables-are-bad-what-alternative-solution-should-i-use?answertab=votes#tab-top) [https://yuiblog.com/blog/2006/06/01/global-domination/](https://yuiblog.com/blog/2006/06/01/global-domination/) Is it possible to avoid it?
