Hi again, so I remixed my student’s project and I play around the
// jshint maxerr:xxx
Something weird happened - if I set the number to 1, the first line - a var declaration - is flagged as “too many errors”, same goes all the way to 100.
When I set it to 5000, every warning in the program showed up correctly - there’s about 7 of them, mainly creating functions within loops - I told my student not to do that before, but he told me those functions will only be executed a few times, by design.
Could this be the reason?