Map function in jscript

I’m fairly certain the answer is no but is there a way to to create a string map or something within jscript? In quadient you have things called stringstringmaps where it’s an array with a key and a value, so you add things to this array but can do a get rather than a traditional array where you would have to loop round until you find what you want.

probably not explaining myself properly, but I can find this functionality in javascript but can’t find anything for jscript

Depending on your needs, using a plain JS object will do exactly that. For instance:

var dict = {};
dict["a"] = "First value";
dict["b"] = "Second value";
dict["c"] = "Third value";

["c","b","a"].forEach(function(i){
  Watch.log(dict[i],2);
});