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

81
Views
Not able to use Array.from

I am using a platform that only supports ECMAScript 5, and therefore my JavaScript code must work within that limit. Randomize is just a helper function I’ve written. This code snippet works perfectly in an environment that supports never versions than ecmascript 5, but it does not work in an ecmascript 5 environment. The function Array.find does not exist in ecmascript 5. How can I make it work in Ecmascript5?

Thanks in advance!

This is the code:

Array.from(crypto.getRandomValues(new Uint32Array(16))).map(randomize).join(‘’) 
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Since u can not use the function,i think u can rewrite a period of code of function that can help u reach the same condition. here are my private method from other developers:

function arrayFrom (){
         let args = Array.prototype.slice.call(arguments);
         return args
};

arrayFrom(1,2,3)// printf: [1,2,3]
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!