MouseHunt - Spooky Shuffle Tracker

Play Spooky Shuffle more conveniently by keeping track of what you've already uncovered

< Opiniones de MouseHunt - Spooky Shuffle Tracker

Pregunta o comentario

§
Publicado: 31/10/2019

Great script, but a bug

The second for loop uses "var i", which conflicts with the "use strict". Changing everything inside that loop to "j" makes everything work perfectly!

Rani KheirAutor
§
Publicado: 17/10/2020

@chrylis

Does it not work with you? It should still work, even if it says there's an issue.

'use strict' won't prevent re-setting vars previously set. What you could be seeing is a linter suggestion?

Alternatively I can declare i elsewhere (earlier in the code) and remove the 'var' in both for loops. It should still work either way since both for loops don't touch one another.

Publicar respuesta

Inicia sesión para responder.

长期地址
遇到问题?请前往 GitHub 提 Issues。