JSON parsing in javascript with string keys and mixed values

I am absolutely new to Javascript. Cannot parse following JSON received from backend:

var arr = [{"fields": 1, "question": "abcd"}]

I have tried arr[0].fields and arr[0]['fields'] but both return fields is undefined