Unable to use the Javascript Map object.

Home Forums Conduit: AEP Model Unable to use the Javascript Map object.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #16878
    Ajay K
    Participant

    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

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.