summaryrefslogtreecommitdiffstats
path: root/third_party/webkit/PerformanceTests/six-speed/tests/bindings-compound.es6
blob: cea478f07036fa438f8b34568dd5381666bda707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"use strict";

const b = 2;

function fn() {

  let a = 1;
  a += b;

  return a;
}

assertEqual(fn(), 3);
test(fn);