Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

128
Views
How to fix this error in IE regarding the from

I'm having this error:

Object doesn't support 'from' property or method

on the following line:

const ids = Array.from(cbs).map(function(cb) {cb.getAttribute("data-item-id")});

How can I fix it?

about 4 years ago · Juan Pablo Isaza
2 answers
Answer question

0

Array.from is not implemented in IE11, so you'll need to use a polyfill

about 4 years ago · Juan Pablo Isaza Report

0

Array from is not supported by IE https://caniuse.com/mdn-javascript_builtins_array_from

https://caniuse.com/ is you best friend in these cases.

Use a following polyfill to make it work. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from#polyfill

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!