projects
/
platform
/
upstream
/
js.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.0.0
[platform/upstream/js.git]
/
js
/
src
/
jit-test
/
tests
/
basic
/
testNonStubGetter.js
1
function testNonStubGetter() {
2
let ([] = false) { (this.watch("x", /a/g)); };
3
(function () { (eval("(function(){for each (x in [1, 2, 2]);});"))(); })();
4
this.unwatch("x");
5
return "ok";
6
}
7
assertEq(testNonStubGetter(), "ok");