Skip to content

Commit 0f84120

Browse files
ZYSzysdanbev
authored andcommitted
lib: change abstract equal to strict equal
PR-URL: #22974 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: John-David Dalton <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent f8d6991 commit 0f84120

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/console.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ Console.prototype.table = function(tabularData, properties) {
349349
if (properties !== undefined && !ArrayIsArray(properties))
350350
throw new ERR_INVALID_ARG_TYPE('properties', 'Array', properties);
351351

352-
if (tabularData == null || typeof tabularData !== 'object')
352+
if (tabularData === null || typeof tabularData !== 'object')
353353
return this.log(tabularData);
354354

355355
if (cliTable === undefined) cliTable = require('internal/cli_table');

0 commit comments

Comments
 (0)