I have the below data and I would like to find out how many sets I have and how to access each key value pair in javaScript.
response[
{"RECORD_NUM":967,"DATE_FIELD":"1736-01-19","DESCRIPTION":"James Watt, inventor of the steam engine, was born in Scotland."},
{"RECORD_NUM":1002,"DATE_FIELD":"1747-01-19","DESCRIPTION":"Johann Bode founder of \"Bode's Law \" dies"},
{"RECORD_NUM":1111,"DATE_FIELD":"1770-01-19","DESCRIPTION":"Battle of Golden Hill (Lower Manhattan)"},
]
It seems that response.length() gives the value of the number of fields.
And using generates an error
var dataCheck = response.DATE_FIELD[0];
How would I get the value of the second field in the first row of response?