Continuing JSValue fun.

This commit is contained in:
rogerl@netscape.com
1999-05-21 00:54:26 +00:00
parent c628766465
commit 73fbdc85cd
7 changed files with 212 additions and 10 deletions
+4
View File
@@ -27,6 +27,10 @@ class JSInteger extends JSNumber {
return this;
}
JSValue toPrimitive() {
return this;
}
JSString toJSString() {
return new JSString(Integer.toString(i));
}