Here is the polyfill Location :
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from#Polyfill
Put it in a <script>
tag before the JavaScript that uses that feature. The polyfill is simply JavaScript that modifies the Array.prototype
object so that arrays have the new feature, and it needs to run before code that expects that feature to be there.