import java.io.*;
import java.util.*;
-// FIXME: could use some cleaning up...
-
/** A JavaScript Array */
class ArrayImpl extends JS.Obj {
private Vec vec = new Vec();
}
if(method.equals("unshift")) {
if(justChecking) return Boolean.TRUE;
- // FIXME: could be optimized a bit with some help from Vec
+ // FEATURE: could be optimized a bit with some help from Vec
for(int i=0;i<args.length();i++)
vec.insertElementAt(args.elementAt(i),i);
return new Integer(vec.size());