@@ -540,7 +540,7 @@ are also recursively evaluated by the following rules.
540
540
objects.
541
541
* [ ` Symbol ` ] [ ] properties are not compared.
542
542
* [ ` WeakMap ` ] [ ] and [ ` WeakSet ` ] [ ] comparison does not rely on their values.
543
- * [ ` RegExp ` ] [ ] lastIndex, flags and source are always compared, even if these
543
+ * [ ` RegExp ` ] [ ] lastIndex, flags, and source are always compared, even if these
544
544
are not enumerable properties.
545
545
546
546
The following example does not throw an [ ` AssertionError ` ] [ ] because the
@@ -701,7 +701,7 @@ are recursively evaluated also by the following rules.
701
701
reference.
702
702
* [ ` WeakMap ` ] [ ] and [ ` WeakSet ` ] [ ] comparison does not rely on their values. See
703
703
below for further details.
704
- * [ ` RegExp ` ] [ ] lastIndex, flags and source are always compared, even if these
704
+ * [ ` RegExp ` ] [ ] lastIndex, flags, and source are always compared, even if these
705
705
are not enumerable properties.
706
706
707
707
``` mjs
@@ -970,7 +970,7 @@ benefit in catching a rejection and then rejecting it again. Instead, consider
970
970
adding a comment next to the specific code path that should not reject and keep
971
971
error messages as expressive as possible.
972
972
973
- If specified, ` error ` can be a [ ` Class ` ] [ ] , [ ` RegExp ` ] [ ] or a validation
973
+ If specified, ` error ` can be a [ ` Class ` ] [ ] , [ ` RegExp ` ] [ ] , or a validation
974
974
function. See [ ` assert.throws() ` ] [ ] for more details.
975
975
976
976
Besides the async nature to await the completion behaves identically to
@@ -1052,7 +1052,7 @@ parameter, then an [`AssertionError`][] is thrown. If the error is of a
1052
1052
different type, or if the ` error ` parameter is undefined, the error is
1053
1053
propagated back to the caller.
1054
1054
1055
- If specified, ` error ` can be a [ ` Class ` ] [ ] , [ ` RegExp ` ] [ ] or a validation
1055
+ If specified, ` error ` can be a [ ` Class ` ] [ ] , [ ` RegExp ` ] [ ] , or a validation
1056
1056
function. See [ ` assert.throws() ` ] [ ] for more details.
1057
1057
1058
1058
The following, for instance, will throw the [ ` TypeError ` ] [ ] because there is no
0 commit comments