IE 11 AngularJS error - Object doesn't support property or method 'from'

前端 未结 4 1073
一生所求
一生所求 2021-01-13 02:46

In my JavaScript I have a function detectEnvironmentAndGetLEAndDepot() which is called onload via HTML. I\'m working with wicket, and need to take

4条回答
  •  感情败类
    2021-01-13 03:13

    you can use instead _underscore.js with function _.toArray(document.getElementsByTagName('span'))...

    FYI:

    'Array.from' not supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Not supported in Windows 8.1.

    source

提交回复
热议问题