Fixing typeof for boolean arguments.

This commit is contained in:
Ruben Ayrapetyan
2014-10-15 18:02:10 +04:00
parent 49d990ad32
commit e8d728f8ce
4 changed files with 5 additions and 7 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ function f()
assert(typeof(a) === "undefined");
assert(typeof(null) === "object");
assert(typeof(false) === "false");
assert(typeof(true) === "true");
assert(typeof(false) === "boolean");
assert(typeof(true) === "boolean");
assert(typeof(1) === "number");
assert(typeof(1.1) === "number");
assert(typeof('abcd') === "string");