How do you understand each return in the following code?

clipboard.png
can you explain how this code works? In particular, how are several return implemented?


execute:

  1. If specId is undefined (or other variables that are No ), then false is returned.
  2. for-of traverses the list array and returns that item
  3. if the condition is met
  4. indicates that none of the above array meets the condition, and returns false

transform

  

if you don't understand the meaning of these return, you need to hurry back and take a look at the basics of js

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-1e97824-1661.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-1e97824-1661.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?