@@ -317,7 +317,7 @@ const assert2 = new Assert({ skipPrototype: true });
317317assert2 .deepStrictEqual (foo, bar); // OK
318318```
319319
320- When destructured, methods lose access to the instance's ` this ` context and revert to default assertion behavior
320+ When destructured, methods lose access to the instance's ` this ` context and revert to the default assertion behavior
321321(diff: 'simple', non-strict mode).
322322To maintain custom options when using destructured methods, avoid
323323destructuring and call methods directly on the instance.
@@ -423,8 +423,8 @@ are also recursively evaluated by the following rules.
423423### Comparison details
424424
425425* Primitive values are compared with the [ ` == ` operator] [ ] ,
426- with the exception of {NaN}. It is treated as being identical in case
427- both sides are {NaN}.
426+ except for {NaN}, which is treated as identical when both
427+ sides are {NaN}.
428428* [ Type tags] [ Object.prototype.toString() ] of objects should be the same.
429429* Only [ enumerable "own" properties] [ ] are considered.
430430* Object constructors are compared when available.
@@ -938,7 +938,7 @@ error messages as expressive as possible.
938938If specified, ` error ` can be a [ ` Class ` ] [ ] , {RegExp} or a validation
939939function. See [ ` assert.throws() ` ] [ ] for more details.
940940
941- Besides the async nature to await the completion behaves identically to
941+ Aside from asynchronously awaiting completion, it behaves identically to
942942[ ` assert.doesNotThrow() ` ] [ ] .
943943
944944``` mjs
0 commit comments