Skip to content

Commit 590f2a4

Browse files
SunJieMingSunJieMing
authored andcommitted
marked problems as EC
1 parent e0cc92a commit 590f2a4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/objects.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ const pairs = (obj) => {
2323
// http://underscorejs.org/#pairs
2424
};
2525

26+
/* Extra credit */
27+
2628
const invert = (obj) => {
2729
// Returns a copy of the object where the keys have become the values and the values the keys.
2830
// Assume that all of the object's values will be unique and string serializable.

0 commit comments

Comments
 (0)