Eslint report error accident how to use continue to change, is it possible to remove continue directly?

     if (typeof (hightlight[item]) === "function") continue;
              if (hightlightStr.length >= 100) break;
              hightlightStr += hightlight[item];
              hightlightStr += "...";
            }
Apr.15,2021

I didn't expect this translator to almost laugh me to death.

answer your question.

there are two possibilities for you to report an error:

  1. you used it where you can't use continue and break, and the syntax is wrong. Are you not using it in the loop? )
  2. eslintrc explicitly forbids continue. You can turn off this check or do not use continue details: https://eslint.org/docs/rules.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b4112b-2c54b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b4112b-2c54b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?