Skip to content

Commit 14b588d

Browse files
authored
Update index.js
1 parent e3631be commit 14b588d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function makePromisable (parent, prop) {
3838
returnValue = Reflect.apply(target, parent, argumentsList)
3939
})
4040
// Return the returnValue through valueOf
41-
promise.valueOf = _ => returnValue
41+
promise.valueOf = () => returnValue
4242
return promise
4343
}
4444
})

0 commit comments

Comments
 (0)