2003/07/05 02:38:15
[org.ibex.core.git] / src / org / xwt / js / JS.java
index 48eb61b..187cb4d 100644 (file)
@@ -69,6 +69,8 @@ public abstract class JS {
     public Number coerceToNumber() { throw new Error("you cannot coerce a " + this.getClass().getName() + " into a Number"); }
     public String coerceToString() { throw new Error("you cannot coerce a " + this.getClass().getName() + " into a String"); }
     public boolean coerceToBoolean() { throw new Error("you cannot coerce a " + this.getClass().getName() + " into a Boolean"); }
+    
+    public String typeName() { return "object"; }
 
 
     // Inner Classes /////////////////////////////////////////////////////////////////////////