Trying to run App.DataStore function

Been trying to run App.DataStore but keep getting “Uncaught ReferenceError: App is not defined at :1:1” on my console. I’ve checked and rechecked my code several times but still can’t find the issue with my code.

I think the problem is chrome. I wrote the code in fire fox and there is no problem.