Fetching data for plugin

Trying to make a super-simple plugin, but i can’t seem to figure out how to fetch data from the fields. i have a simple field called datalisting, but it’s not returning anything, and all im doing is trying to log it to the console:

Any help would be appreciated as im certain its my lack of javascript knowledge doing me in :melting_face: