Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use strict test
  • Loading branch information
Baozi926 committed May 25, 2018
commit 35a9ce59c01e4a7b39cb2196648b703afb3d186b
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function extend(target, obj) {
}
target[key] = assign(target[key] || {}, val);
} else if (isArray(val)) {
let array = [];
var array = [];
for (let i = 0; i < val.length; i++) {
if (isPrimitive(val[i])) {
array.push(val[i]);
Expand Down