Continuing JSValue fun.

git-svn-id: svn://10.0.0.236/trunk@32436 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rogerl%netscape.com
1999-05-21 00:54:26 +00:00
parent 426e6d0544
commit f70f2834fd
7 changed files with 212 additions and 10 deletions

View File

@@ -27,6 +27,10 @@ class JSInteger extends JSNumber {
return this;
}
JSValue toPrimitive() {
return this;
}
JSString toJSString() {
return new JSString(Integer.toString(i));
}