All you need to do is data.<propertyName> . You can do a console.log(data) or console.table(data) and check the property names. If data is null, then most probably read has failed. Goto network tab in developer tools and check for the error in read request.
↧