Imported Upstream version 1.0.0
[platform/upstream/js.git] / js / src / jit-test / tests / jaeger / bug625438.js
1 // vim: set ts=4 sw=4 tw=99 et:
2
3 var count = 0;
4 this.watch("x", function() {
5     count++;
6 });
7 for(var i=0; i<10; i++) {
8     x = 2;
9 }
10 assertEq(count, 10);