Created
February 4, 2015 19:51
-
-
Save joicemjoseph/3d7ae24965f521cb7272 to your computer and use it in GitHub Desktop.
Javascript filters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
homes.filter(function (el) { | |
return el.price <= 1000 && | |
el.sqft >= 500 && | |
el.num_of_beds >=2 && | |
el.num_of_baths >= 2.5; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment