Fix JSString.isInstance

This commit is contained in:
Alexey Andreev 2015-11-30 20:01:08 +03:00
parent ba54f82dc0
commit 516f211d47

View File

@ -99,6 +99,6 @@ public abstract class JSString implements JSObject {
public abstract JSString trim();
@JSBody(params = "obj", script = "return typeof this === 'string';")
@JSBody(params = "obj", script = "return typeof obj === 'string';")
public static native boolean isInstance(JSObject obj);
}