Skip to content

Commit 0207ff1

Browse files
FrankYFTangptomato
authored andcommitted
Add test for ECMA402 PR 1015
tc39/ecma402#1015
1 parent 43efc47 commit 0207ff1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Copyright 2025 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);

0 commit comments

Comments
 (0)