blob: 9a4694a176f55956d1a97128782b62e5345cae76 [file] [log] [blame]
Kaido Kertf309f9a2021-04-30 12:09:15 -07001// Copyright 2020 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5let useArgs = undefined;
6function f(arg) {
7 useArgs = 'result' + arguments[0] + arg;
8}
9
10Intl.NumberFormat.__proto__ = { [Symbol.hasInstance]: f };
11
12new Intl.NumberFormat();