Categories
How to process an array?
I send a request to a page and it gives me a pure array, not JSON , but just an array, but when processing it, it processes it as a string, how to process it correctly? [{},{},{}] - string
Answer the question
In order to leave comments, you need to log in
console.log(JSON.parse('[{},{},{}]'));
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question