From 3a693387f585dfb6a13ac2cdae86af1dcc7a9ceb Mon Sep 17 00:00:00 2001 From: Quang Van Date: Wed, 18 Sep 2013 16:47:00 -0400 Subject: [PATCH] Added string 'true' & 'false'. --- comparison-table.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comparison-table.js b/comparison-table.js index 643941e..2f35482 100644 --- a/comparison-table.js +++ b/comparison-table.js @@ -1,6 +1,6 @@ var EqualityTable = (function(cmpStr){ - var comparisons = [true, false, 1, 0, -1, "1", "0", "-1", "", null, + var comparisons = [true, false, 1, 0, -1, "true", "false", "1", "0", "-1", "", null, undefined, [], {}, [[]], [0], [1], parseFloat("nan")]; function map(f, x) {