I want to write a function in Javascript which will give me particular entry by its position/index in the array -


my code below

var student = [   {     "name":[       "harshit","himanshu","sumit"     ],     "field":[       "it","finance","marketing"     ],     "id":[       1,2,3     ]   } ] 

please provide me function find value of "himanshu" array.


Comments

Popular posts from this blog

unix - grep command not match start of new line with another regex -

sql - calculate weighted average for each day and id based on time intervals in PostgreSQL -

Sort a complex associative array in PHP -