Hey Everyone . Filter Function : the basic use of this function is to get details of record from Array according to some properties. The filter function is very helpful with JSON Array. Syntax : arrayname.filter((user define variable name)=>{return condition}); Lets understand this with basic examples : Q1. how to get all employees with gender male ? var employee_list=[ {'id':'1','name':'Mukund Singh','gender':'M'}, {'id':'2','name':'Arun','gender':'M'}, {'id':'3','name':'Chanu','gender':'F'}, {'id':'4','name':'Main','gender':F'} ] console.log(employee_list.filter((v)=>{return v.gender=='M'})); Here you will result : [ {'id':'1','name':'Mukund Singh','gender':'M'}, {'id':'2...