We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4075348 commit cd96fc7Copy full SHA for cd96fc7
doc/api/assert.markdown
@@ -32,8 +32,9 @@ comparison operator ( `==` ).
32
33
This only considers enumerable properties. It does not test object prototypes,
34
attached symbols, or non-enumerable properties. This can lead to some
35
-potentially surprising results. For this does not throw an `AssertionError`
36
-because the properties on the `Error` object are non-enumerable:
+potentially surprising results. For example, this does not throw an
+`AssertionError` because the properties on the `Error` object are
37
+non-enumerable:
38
39
// WARNING: This probably does not do what you expect!
40
assert.deepEqual(Error('a'), Error('b'));
0 commit comments