Use === to compare with 0

This commit is contained in:
Rob Halff 2014-10-17 01:40:04 +02:00 committed by Miroslav Bajtoš
parent 027f25a22f
commit b54c70c348
1 changed files with 1 additions and 1 deletions

View File

@ -459,7 +459,7 @@ app.listen = function(cb) {
});
var useAppConfig =
arguments.length == 0 ||
arguments.length === 0 ||
(arguments.length == 1 && typeof arguments[0] == 'function');
if (useAppConfig) {