This is difficult with static analysis. You could have position: relativein a class that you applied with an event handler to several elements, one of which you later selected by id and called slideUp()on. The scan tool you need will require browser tools and must trigger all kinds of events to find these dangerous patterns.
Since Microsoft browsers are so excellent and probably can give you some new problems that no one has previously encountered, it is difficult to avoid manually checking the time; and on your way to finding the accidents that they created just for you, you will catch more mundane.
source
share