+ 1

Help with array methods..

I am trying to get a filtered array, using the filter method. But this error is not letting me do it correctly. It would be great if I could get some help. Also, this works perfectly on sololearn web, but not on my android device. Thanks!! https://code.sololearn.com/WTxcdwhvCzvH/?ref=app

20th Nov 2018, 11:12 AM
R I S H A B H
R I S H A B H - avatar
3 Antworten
+ 3
It's working fine on my phone. Though I reduced the timeout to 50 (I couldn't wait till 5000). Edit: What's the error message? Do you have an old device? Then ES6 stuff like "let" and ()=> may not work on your phone. Personally I think it's better to avoid them anyway, to make codes more compatible.
20th Nov 2018, 11:33 AM
Kishalaya Saha
Kishalaya Saha - avatar
+ 2
Thank You so much. It really makes sense, why I am not getting good or proper output like on the web. Thanks again!!
20th Nov 2018, 11:46 AM
R I S H A B H
R I S H A B H - avatar
+ 1
You're welcome, Rishabh Jha Were you able to fix your issue?
20th Nov 2018, 11:50 AM
Kishalaya Saha
Kishalaya Saha - avatar