1 parent 43efc47 commit 0207ff1Copy full SHA for 0207ff1
1 file changed
test/intl402/Segmenter/prototype/segment/name_of_symbol_iterator.js
@@ -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