"arrays only support positive integer keys, can not use: "+JSU.str(key));
int i = ((JSNumber.I)key).toInt();
if (i < 0) throw new JSExn("arrays can not use negative integer keys "+i);
"arrays only support positive integer keys, can not use: "+JSU.str(key));
int i = ((JSNumber.I)key).toInt();
if (i < 0) throw new JSExn("arrays can not use negative integer keys "+i);
public void addTrap(JS k, JS f) throws JSExn { throw new JSExn("arrays do not support traps"); }
public void delTrap(JS k, JS f) throws JSExn { throw new JSExn("arrays do not support traps"); }
public void addTrap(JS k, JS f) throws JSExn { throw new JSExn("arrays do not support traps"); }
public void delTrap(JS k, JS f) throws JSExn { throw new JSExn("arrays do not support traps"); }
/** FEATURE: move to specialised ArrayStore superclass. */
public void addAll(JS[] entries) { for (int i=0; i < entries.length; i++) add(entries[i]); }
/** FEATURE: move to specialised ArrayStore superclass. */
public void addAll(JS[] entries) { for (int i=0; i < entries.length; i++) add(entries[i]); }