summaryrefslogtreecommitdiffstats
path: root/third_party/webkit/PerformanceTests/six-speed/tests/bindings-compound.es5
blob: 789d586cac5053f8840d24f054be1f8fcd9e46ef (plain)
1
2
3
4
5
6
7
8
9
10
11
var b = 2;

assertEqual(fn(), 3);

function fn() {
  var a = 1;
  a += b;

  return a;
}
test(fn);