From dc9acd4faeba1aade414bdd8da28f30b16773575 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 30 Jul 2013 13:28:48 +0200 Subject: [PATCH] assert: replace !!!value with just !value Not harmful, just code cleanup. Fixes #5885. --- lib/assert.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/assert.js b/lib/assert.js index fcd4886f7d6..63a69390d8f 100644 --- a/lib/assert.js +++ b/lib/assert.js @@ -109,7 +109,7 @@ assert.fail = fail; // assert.strictEqual(true, guard, message_opt);. function ok(value, message) { - if (!!!value) fail(value, true, message, '==', assert.ok); + if (!value) fail(value, true, message, '==', assert.ok); } assert.ok = ok;