In my JavaScript I have a function detectEnvironmentAndGetLEAndDepot() which is called onload via HTML. I\'m working with wicket, and need to take
detectEnvironmentAndGetLEAndDepot()
onload
As Array.from method is not supported by IE, you can try to use:
Array.from
[].slice.call(document.getElementsByTagName('span')).forEach(function(v) {});
This doesn't require usage of any 3rd party libraries.