Strict mode Failing
Expected no error, got SyntaxError: warning: the variable "Intl" was not declared in function "global"
non-Strict mode Failing
Expected no error, got ReferenceError: Property 'Intl' doesn't exist
Features:
- ∅
Expected no error, got SyntaxError: warning: the variable "Intl" was not declared in function "global"
Expected no error, got ReferenceError: Property 'Intl' doesn't exist
// Copyright 2016 Mozilla Corporation. All rights reserved. // This code is governed by the license found in the LICENSE file. /*--- description: Intl.DateTimeFormat.prototype.formatToParts.length. includes: [propertyHelper.js] ---*/ verifyProperty(Intl.DateTimeFormat.prototype.formatToParts, 'length', { value: 1, enumerable: false, writable: false, configurable: true, });