output.js 102 B

123456
  1. var _a;
  2. var array = [10, 20, 30];
  3. var last = (_a = array, _a[_a.length - 1]);
  4. expect(last).toBe(30);