We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9109187 commit f38eff2Copy full SHA for f38eff2
lib/console.js
@@ -341,7 +341,7 @@ Console.prototype.table = function(tabularData, properties) {
341
if (properties !== undefined && !ArrayIsArray(properties))
342
throw new ERR_INVALID_ARG_TYPE('properties', 'Array', properties);
343
344
- if (tabularData == null || typeof tabularData !== 'object')
+ if (tabularData === null || typeof tabularData !== 'object')
345
return this.log(tabularData);
346
347
if (cliTable === undefined) cliTable = require('internal/cli_table');
0 commit comments