Skip to content
Snippets Groups Projects
Commit b46778dc authored by Ms2ger's avatar Ms2ger
Browse files

Add a test for Object.prototype.toString with Intl.ListFormat objects.

parent 46a0ff6e
No related branches found
No related tags found
No related merge requests found
// Copyright 2018 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-intl.ListFormat.prototype-@@tostringtag
description: >
Checks Object.prototype.toString with Intl.ListFormat objects.
info: |
Intl.ListFormat.prototype[ @@toStringTag ]
The initial value of the @@toStringTag property is the string value "Intl.ListFormat".
features: [Intl.ListFormat]
---*/
assert.sameValue(Object.prototype.toString.call(Intl.ListFormat.prototype), "[object Intl.ListFormat]");
assert.sameValue(Object.prototype.toString.call(new Intl.ListFormat()), "[object Intl.ListFormat]");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment