JS cross browser inconsistencies/differences

前端 未结 3 907
故里飘歌
故里飘歌 2021-02-06 04:19

There are lots of DOM/CSS inconsistencies between browsers. But how many core JS differences are there between browsers? One that recently tripped me up is that in Firefox, setT

3条回答
  •  梦谈多话
    2021-02-06 05:21

    There doesn't appear to be anything out there that clearly outlines all these issues (very surprising actually). If you use jQuery there is a nice browser compatibility doc section that outlines supported browsers and known issues. I just deal with issues as they come up (as you should be browser testing in all cases anyways) and you can document them if you want to make sure you are coding correctly or if you run into issues and need to know fixes. It's easy to find issues when you do a quick search on a particular topic.

提交回复
热议问题