Skip to content

Commit f38eff2

Browse files
ZYSzystargos
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 9109187 commit f38eff2

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
@@ -341,7 +341,7 @@ Console.prototype.table = function(tabularData, properties){
341341
if(properties!==undefined&&!ArrayIsArray(properties))
342342
thrownewERR_INVALID_ARG_TYPE('properties','Array',properties);
343343

344-
if(tabularData==null||typeoftabularData!=='object')
344+
if(tabularData===null||typeoftabularData!=='object')
345345
returnthis.log(tabularData);
346346

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

0 commit comments

Comments
(0)