I believe App Lab is glitching due to the Share as Library feature. Here is what is happening, you can experience it here.
- I created a (very silly) function and tested it with 2 console.logs. Both ran successfully.
- I shared the function as a library using the Share as Library feature.
- I ran the function again, without changing it, and it ran 4 times.
- I commented out my console.logs, the function still ran 2 times even though my code was not calling it.
- I deleted my console.logs, the function still runs 2 times even though it is not being called.