Hi,I'm trying to create array variable in custom script and add item( with both key and value) to it.
I tried javascript syntax like below but not working. Can you help me on this
var a=[],i="emp",j="John"; a[i]=j; //or a.i=j; return a;
so that a["emp"] has to return value "John"