mirror of https://github.com/tc39/test262.git
Add symbol to list of invalid targets
This commit is contained in:
parent
db238a1abe
commit
12055caa1c
|
@ -15,7 +15,7 @@ var functions = {
|
|||
formatToParts: Intl.NumberFormat.prototype.formatToParts,
|
||||
resolvedOptions: Intl.NumberFormat.prototype.resolvedOptions
|
||||
};
|
||||
var invalidTargets = [undefined, null, true, 0, "NumberFormat", [], {}];
|
||||
var invalidTargets = [undefined, null, true, 0, "NumberFormat", [], {}, Symbol()];
|
||||
|
||||
Object.getOwnPropertyNames(functions).forEach(function (functionName) {
|
||||
var f = functions[functionName];
|
||||
|
|
Loading…
Reference in New Issue