DEV Community

Discussion on: Search through a JSON object using JavaScript

Collapse
 
killants profile image
killants

I added to the gist, the optimized function provided by "Mihail Malostanidis" (dev.to/qm3ster) since it is way more "clean". I leaved the old one so you can compare with my first attempt and see the difference. You can always check Mihail comments on this post since he explains his approach to this.

Big thanks to Mihail for his help!!! :)