test/intl/locale/locale-constructor.js
// Check getter properties against the spec.
Check getter properties against the spec.
Check getter properties against the spec .
function checkProperties(property) {
  let desc = Object.getOwnPropertyDescriptor(Intl.Locale.prototype, property);
  assertEquals(`get ${property}`, desc.get.name);
  assertEquals('function', typeof desc.get)
  assertEquals(undefined, desc.set);
  assertFalse(desc.enumerable);
  assertTrue(desc.configurable);
}
function checkProperties ( property ) { let desc = Object . getOwnPropertyDescriptor ( Intl . Locale . prototype , property ) ; assertEquals ( ` ${ property } ` , desc . get . name ) ; assertEquals ( 'function' , typeof desc . get ) assertEquals ( undefined , desc . set ) ; assertFalse ( desc . enumerable ) ; assertTrue ( desc . configurable ) ; }
Check getter properties against the spec.
Check getter properties against the spec .