For example, these values will change, and the function inside needs to be triggered when these values are true. So where is this code written? Can these values be monitored in real time? I previously found that the function inside was not executed because I wrote this code in onload. Now it seems that it is not working. Does anyone have any good ideas?
You can monitor the corresponding events through the getter and setter of JS Object
Reference: /q/10...