Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Fixed browser note

Guillermo Rauch514dbc51a1db
diff --git a/lib/utils.js b/lib/utils.js
index ede1a65f..92e2a0d8 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -97,7 +97,7 @@ exports.filter = function(arr, fn, scope) {
exports.keys = Object.keys || function(obj) {
var keys = []
- , has = Object.prototype.hasOwnProperty // for `window` on IE8
+ , has = Object.prototype.hasOwnProperty // for `window` on <=IE8
for (var i in obj) {
if (has.call(obj, i)) {