+ 1
How to use defer in the SoloLearn code editor?
In e.g. Visual Studio Code I use the "defer" option by using for example <script defer src="script.js"></script> but how do I use defer in the SoloLearn editor?
2 Réponses
+ 2
Found this on Code Playground
https://code.sololearn.com/WQq06b36d8Rn/#js
+ 1
I guess that defer and/or async keyword doesn't works in sololearn code editor (at least for website version): they are not working when you try to use it in a page located in your file system (opened with the file:/// protocole, not trough a localhost)... and sololearn code playground seems to deal with the sources by writing dynamically in the output iframe (in opposition to load it from sololearn server) despites the fact that source code is send to server before every run (sounds like a check / stat collector only request).