Merge pull request #1913 from tc39/fix-intl-segmenter-test

Fix Intl.Segmenter branding.js
This commit is contained in:
Daniel Ehrenberg 2018-11-02 08:53:00 +01:00 committed by GitHub
commit be4c8a5c4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ description: Verifies the behavior for the iterators.
features: [Intl.Segmenter]
---*/
let seg = new Intl.Segmenter();
let segmentIterator = seg.segment('text');
let prototype = Object.getPrototypeOf(segmentIterator);
const otherReceivers = [
1, 123.45, undefined, null, "string", true, false,
Intl, Intl.Segmenter, Intl.Segmenter.prototype,