3 ms·
Why the leading ;?
by teaearlgraycold 5y ago
Why the leading ;?
- jspash 5y agoSome build techniques simply concatenate scripts instead of transpiling etc. And there is no telling how the previous script ended (or not). I seem to remember this is done to mitigate some issues that can arise from poorly written scripts that come before this one.
- Raed667 5y agoIt's for avoiding syntax issues, when you import multiple self-invoking functions. Here is a stackoverflow that explains it https://stackoverflow.com/a/7365214/4690715 https://stackoverflow.com/a/7365214/4690715