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
/
testBug607659.js
1
var g = 0;
2
Object.defineProperty(RegExp.prototype, 'test', { get:function() { ++g } });
3
function f() {
4
for (var i = 0; i < 100; ++i)
5
/a/.exec('a');
6
}
7
f();
8
assertEq(g, 0);