From ba74e56c35b7c74d7e65405dfcae082664962c1b Mon Sep 17 00:00:00 2001 From: notmasteryet Date: Fri, 23 Sep 2011 06:58:54 -0500 Subject: [PATCH] Using !== for objects comparison --- test/driver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/driver.js b/test/driver.js index 3e3097107..e7c125347 100644 --- a/test/driver.js +++ b/test/driver.js @@ -58,7 +58,7 @@ function cleanup() { } var guard = document.getElementById('content-end'); var body = document.body; - while (body.lastChild != guard) + while (body.lastChild !== guard) body.removeChild(body.lastChild); }