Skip to content
This repository has been archived by the owner on Apr 23, 2021. It is now read-only.

Commit

Permalink
Fix missing bracket in polyfill.
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 6, 2015
1 parent b586b55 commit 9a5b43d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ if (!Object.values) {

if (!Object.entries) {
Object.entries = function entries(O) {
return reduce(keys(O), (e, k) => concat(e, has(O, k) ? [[k, O[k]] : []), []);
return reduce(keys(O), (e, k) => concat(e, has(O, k) ? [[k, O[k]]] : []), []);
};
}

0 comments on commit 9a5b43d

Please sign in to comment.