When I try to create a map using the following code:
let myMap = new Map();
I encounter the error shown below.
Script Error: The script engine encountered an error while executing the inlined Javascript function 'mediate'.
com.sun.phobos.script.util.ExtendedScriptException:
org.mozilla.javascript.EcmaError: ReferenceError: "Map" is not defined. (<Unknown Source>#4) in <Unknown Source> at line number 4.