【JavaScript】How to test method compatibility

Utilize website testing methods for compatibility

  • Open the website: https://caniuse.com
  • Enter the method to be detected, 红色which means it is not supported and 绿色the code supports it.

Insert image description here

Guess you like

Origin blog.csdn.net/qiqizgl777/article/details/132241522