in the case of a five-second cycle, the java background returns data to the foreground each time, or the foreground js directly realizes the loop itself.
1. Although the answer may be biased towards the fast circulation of the js foreground itself (but still hope to have a better answer)
2. The second question, the difference between js and jq, I don"t think there is any difference. I don"t quite know who can answer it
quotation text