Let suppose I have an array like this
Let data = [ [bob,male,90,pass][sam,male,70,pass][grace,female,75,pass][harry,male,20,fail] ]
and I want to extract all the names and store them in a seperate array then how can I do it ? Means output should be like
[bob,sam,grace,harry]