Continuing JSValue fun.
git-svn-id: svn://10.0.0.236/trunk@32436 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -27,6 +27,10 @@ class JSInteger extends JSNumber {
|
||||
return this;
|
||||
}
|
||||
|
||||
JSValue toPrimitive() {
|
||||
return this;
|
||||
}
|
||||
|
||||
JSString toJSString() {
|
||||
return new JSString(Integer.toString(i));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user