Hi,
I am trying to read one specific value out of the global variable 'token'. But like you can see, the result is 'undefined'. So I think that the first lane isn't correct, can anyone help?
Hi,
I am trying to read one specific value out of the global variable 'token'. But like you can see, the result is 'undefined'. So I think that the first lane isn't correct, can anyone help?
You are trying to read the global TOKEN
but that is not a global variable you have defined. If you said var VALUE = global.get("rfid") || []
you would get something back.
You then use VALUE.TOKEN
to access it’s contents.
P.s. why are you using a capital letters for variable names?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.