Browse Source

Using !== for objects comparison

notmasteryet 14 years ago
parent
commit
ba74e56c35
  1. 2
      test/driver.js

2
test/driver.js

@ -58,7 +58,7 @@ function cleanup() {
} }
var guard = document.getElementById('content-end'); var guard = document.getElementById('content-end');
var body = document.body; var body = document.body;
while (body.lastChild != guard) while (body.lastChild !== guard)
body.removeChild(body.lastChild); body.removeChild(body.lastChild);
} }

Loading…
Cancel
Save