From 0fe86b633a83e5737976e40d4177df577eff3271 Mon Sep 17 00:00:00 2001 From: Gus Caplan Date: Sun, 10 Nov 2019 22:16:10 -0800 Subject: [PATCH] Remove AggregateError.prototype.toString --- spec.html | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/spec.html b/spec.html index cc4400a..d7157ca 100644 --- a/spec.html +++ b/spec.html @@ -182,22 +182,6 @@

get _AggregateError_.prototype.errors

1. Return ! CreateArrayFromList(_E_.[[AggregateErrors]]). - - -

_AggregateError_.prototype.toString ( )

-

The following steps are taken:

- - 1. Let _O_ be the *this* value. - 1. If Type(_O_) is not Object, throw a *TypeError* exception. - 1. Let _name_ be ? Get(_O_, `"name"`). - 1. If _name_ is *undefined*, set _name_ to `"AggregateError"`; otherwise set _name_ to ? ToString(_name_). - 1. Let _msg_ be ? Get(_O_, `"message"`). - 1. If _msg_ is *undefined*, set _msg_ to the empty String; otherwise set _msg_ to ? ToString(_msg_). - 1. If _name_ is the empty String, return _msg_. - 1. If _msg_ is the empty String, return _name_. - 1. Return the string-concatenation of _name_, the code unit 0x003A (COLON), the code unit 0x0020 (SPACE) and _msg_. - -