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
You could use an ES2015 polyfill, like es6-shim, Array.from or Babel polyfill