summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-677055.js
blob: d65cec8edd68dd2e97bcdb3463edd8264dfac2b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2016 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

if (this.Intl) {
  v5 = new Intl.NumberFormat();
  v9 = new Intl.DateTimeFormat();
  v52 = v9["formatToParts"];
  var v55 = {};
  assertThrows(() => Reflect.apply(v52, v5, v55), TypeError);
}