Scan Javascript for browser compatibility

前端 未结 4 1505
情书的邮戳
情书的邮戳 2021-02-04 03:41

Is there a tool out there to scan my Javascript code for functions that may not be present in all browsers?

My library is completely non-UI, so I don\'t care about how

4条回答
  •  长发绾君心
    2021-02-04 04:37

    You can paste your code into https://jshint.com/ and it will tell you about any "newish" language features to be careful about. However it does not indicate which browsers are missing which features.

提交回复
热议问题