ada6fa1fda
R=bmeurer@chromium.org BUG=chromium:617527 Review-Url: https://codereview.chromium.org/2045153002 Cr-Commit-Position: refs/heads/master@{#36813}
9 lines
308 B
JavaScript
9 lines
308 B
JavaScript
// 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.
|
|
|
|
// Flags: --enable-slow-asserts
|
|
|
|
Object.defineProperty(Array.prototype, "1", { get: toLocaleString });
|
|
assertThrows(_ => new RegExp(0, 0));
|