I have an array of objects like
objArray = [{"color":"red", "width":5, "price":10},
{"color":"green", "width":4, "price":8},
{"color":"red", "width":7, "price":11}]
how can I return an array of objects where the color is red in javascript or jquery
1 Answer