Skip to content

Commit 6f2c11e

Browse files
committed
[Refactor] split up var declarations for debuggability
1 parent 5ca6f60 commit 6f2c11e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ module.exports = function inspect_ (obj, opts, depth, seen) {
115115
return markBoxed(inspect(String(obj)));
116116
}
117117
if (!isDate(obj) && !isRegExp(obj)) {
118-
var xs = [], keys = [];
118+
var xs = [];
119+
var keys = [];
119120
for (var key in obj) {
120121
if (has(obj, key)) keys.push(key);
121122
}

0 commit comments

Comments
 (0)