You can use the Array.prototype.filter method: var newArray = homes.filter(function (el) { return el.price <= 1000 && el.sqft >= 500 ...
確定! 回上一頁