My working unpac space for OCaml projects in development
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add test for ECMA402 PR 1015 to verify (new Intl.Segmenter()).segment("123")[Symbol.iterator].name (#4635)

* Add test for ECMA402 PR 1015

https://github.com/tc39/ecma402/pull/1015

authored by

Frank Yung-Fong Tang and committed by
GitHub
5a630621 76a9deaf

+10
+10
vendor/git/test262/test/intl402/Segmenter/prototype/segment/name_of_symbol_iterator.js
··· 1 + // Copyright 2025 by Google, Inc. All rights reserved. 2 + // This code is governed by the BSD license found in the LICENSE file. 3 + 4 + /*--- 5 + esid: sec-Intl.Segmenter.prototype.segment 6 + description: Checks the "name" property of %IntlSegmentsPrototype%[%Symbol.iterator%] 7 + features: [Intl.Segmenter] 8 + ---*/ 9 + let ss = (new Intl.Segmenter()).segment("123")[Symbol.iterator].name; 10 + assert.sameValue("[Symbol.iterator]", ss);