MouseHunt - Spooky Shuffle Tracker

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

< 腳本MouseHunt - Spooky Shuffle Tracker的回應

提問/評論

§
發表於:2019-10-31

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 Kheir作者
§
發表於:2020-10-17

@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.

發表回覆

登入以回覆