Unable to use the Javascript Map object.
- This topic has 0 replies, 1 voice, and was last updated 8 years, 1 month ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Conduit: AEP Model › Unable to use the Javascript Map object.
Tagged: Conduit Aep, Javascript Map object.
I am trying to use the javascript object “Map” and I get the following error in the debug window.
“[Initialize Gateway Application] [function] : (error)
ReferenceError: Map is not defined (line”
if(context.global.deviceList === undefined) {
context.global.deviceList = new Map();
console.log("Created Map Object in the global Context");
}
Thanks,
Ajay