+ 1
Warning in web javascript editor
I have this code I have written: https://code.sololearn.com/Wzzt1aZK3nQC/#js and while when it was shorter did trigger some warning that I fixed now that the code has become longer all I get is a warning on line 179 that says "Too many errors. (67% scanned)." Has anybody seen this before? Does anybody know how to fix it? EDIT: The same problem have the following codes: https://code.sololearn.com/WM6UzehGJPHE/#js on line 158, https://code.sololearn.com/WNSd1PCfSo5s/#js on line 156, https://code.sololearn.com/WGObAy7i6amA/#js on line 247 My guess is there are a lot more.
5 odpowiedzi
+ 16
Look at my answer in this thread, there are my assumptions about how the SL Playground works and links to resources where you can check your code.
https://www.sololearn.com/discuss/957526/?ref=app
+ 13
@Basile Laderchi, I also don't know the exact answer yet...
Thank you for one more useful link👍
+ 2
@NezhnyjVampir: useful links, but still no answer to why SL Playground doesn't check after some length.
BTW I found this one https://eslint.org/demo/ that works way better
+ 1
@Mark: line 9 is "var pairs0 = Array.from(....);".
There is no mistake on that line.
If I delete some lines (eg. empty the buildgalaxy, gen_rnd_number and the makesystem functions) then the code obviously doesn't run, but it doesn't give me any warnings.
0
line 9 bar pairs0 =
pairs0 is equal to nothing