Strict mode Failing
Expected no error, got ESHostError: obj should have an own property compile
non-Strict mode Failing
Expected no error, got ESHostError: obj should have an own property compile
Features:
- ∅
Expected no error, got ESHostError: obj should have an own property compile
Expected no error, got ESHostError: obj should have an own property compile
// Copyright (c) 2012 Ecma International. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- es6id: B.2.5.1 description: > Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (RegExp.prototype.compile) includes: [propertyHelper.js] ---*/ verifyProperty(RegExp.prototype, "compile", { enumerable: false, writable: true, configurable: true });