Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0189cb1

Browse filesBrowse files
andornauttimoxley
authored andcommitted
Avoid arrow function syntax.
1 parent f25d3a1 commit 0189cb1
Copy full SHA for 0189cb1

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎index.js‎

Copy file name to clipboardExpand all lines: index.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ function unflatten (target, opts) {
9999
}
100100
}
101101

102-
target = Object.keys(target).reduce((result, key) => {
102+
target = Object.keys(target).reduce(function (result, key) {
103103
const type = Object.prototype.toString.call(target[key])
104104
const isObject = (type === '[object Object]' || type === '[object Array]')
105105
if (!isObject || isEmpty(target[key])) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.