Created
March 23, 2017 11:01
-
-
Save dhunmoon/d7e7ca37f029be047ed609c6a75baaf0 to your computer and use it in GitHub Desktop.
JS:JSON Grep Filter
This file contains hidden or 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
$.grep( [{"name":"Lenovo Thinkpad 41A4298","website":"google"},{"name":"Lenovo Thinkpad 41A2222","website":"google"}], function( n, i ) { | |
return n.website==='google'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment