JS cross browser inconsistencies/differences

前端 未结 3 904
故里飘歌
故里飘歌 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:03

    I find QuirksMode and WebDevout to have the best tables regarding CSS and DOM quirks. You can bridge those incompatibilities with jQuery. There is also this great list started by Paul Irish which includes pretty much any polyfill you could ever need, including ones for ES5 methods such as Array.map.

提交回复
热议问题