Strict mode Passingnon-Strict mode Passing
Features:
- regexp-v-flag
// Copyright 2022 Mathias Bynens. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- author: Mathias Bynens description: > Setting the `u` and `v` flag at the same time produces an error. esid: sec-parsepattern features: [regexp-v-flag] ---*/ assert.throws(SyntaxError, function() { new RegExp(".", "uv"); });