Skip to content
Snippets Groups Projects
Commit e566c813 authored by Ujjwal Sharma's avatar Ujjwal Sharma Committed by Rick Waldron
Browse files

Add additional initial value tests

parent c129ac85
No related branches found
No related tags found
No related merge requests found
......@@ -12,3 +12,13 @@ assert.sameValue(
Object.prototype.toString.call(new Intl.NumberFormat()),
'[object Object]'
);
Object.defineProperty(Intl.NumberFormat.prototype, Symbol.toStringTag, {
value: 'Alpha'
});
assert.sameValue(Intl.NumberFormat.prototype[Symbol.toStringTag], 'Alpha');
assert.sameValue(
Object.prototype.toString.call(new Intl.NumberFormat()),
'[object Alpha]'
);
......@@ -8,7 +8,7 @@ description: >
includes: [propertyHelper.js]
---*/
verifyProperty(Intl.NumberFormat, Symbol.toStringTag, {
verifyProperty(Intl.NumberFormat.prototype, Symbol.toStringTag, {
writable: false,
enumerable: false,
configurable: true
......
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