diff --git a/doc/api/assert.md b/doc/api/assert.md index 58c3e7c07f04a9..55dd99ec23d7f6 100644 --- a/doc/api/assert.md +++ b/doc/api/assert.md @@ -576,8 +576,8 @@ assert.notStrictEqual(a, b); assert(!Object.is(a, b)); // but Object.is() does! -const str1 = "foo"; -const str2 = "foo"; +const str1 = 'foo'; +const str2 = 'foo'; assert.strictEqual(str1 / 1, str2 / 1); // AssertionError: NaN === NaN // Strict Equality Comparison can't be used to check NaN...