rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/vmtest/impl/HtmlAnnotations.java
1.1 --- a/rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/vmtest/impl/HtmlAnnotations.java Sun Apr 17 13:16:31 2016 +0200
1.2 +++ b/rt/emul/compacttest/src/test/java/org/apidesign/bck2brwsr/vmtest/impl/HtmlAnnotations.java Thu Apr 28 07:13:00 2016 +0200
1.3 @@ -99,4 +99,9 @@
1.4 + "return b ? 'yes' : 'no';\n"
1.5 )
1.6 public static native String yesNo(Callable<Boolean> call);
1.7 +
1.8 + @JavaScriptBody(args = { "arr", "val" }, body =
1.9 + "return arr[0] === val;"
1.10 + )
1.11 + public static native boolean compareArr(Object[] arr, Object val);
1.12 }