i want filter value in subject and show in option tag in html using javascript : var user = [
		{
		  "id": 1,
		  "firstname": "kalpit",
		  "lastname": "dwivedi",
		  "age" : 20,
		  "hometown" : "jhansi",
		  "job" : "web design",
		  "subject" : ["Hindi", "English"]
		},

		{
			"id": 2,
			"firstname": "golu",
			"lastname": "gupta",
			"age": 30,
			"hometown": "Vadodara",
			"job": "qa tester",
			"subject" : ["Hindi", "Socilogy"]
		},

		{
			"id": 3,
			"firstname": "john",
			"lastname": "doe",
			"age": 35,
			"hometown": "newport",
			"job": "oprater",
			"subject" : ["English", "Socilogy"]
		},

		{
			"id": 4,
			"firstname": "mohit",
			"lastname": "khare",
			"age": 40,
			"hometown": "kochi",
			"job": "civil",
			"subject" : ["infa", "angularjs"]
		}