We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5c06bd commit 57a602eCopy full SHA for 57a602e
Sprint-2/interpret/invert.js
@@ -23,7 +23,7 @@ function invert(obj) {
23
// { key: 2 }
24
25
// c) What is the target return value when invert is called with {a : 1, b: 2}
26
- // { key: 2 }
+ // {1 : 'a', 2: 'b'}
27
28
// c) What does Object.entries return? Why is it needed in this program?
29
// Object.entries() returns an array of a given object's own enumerable string-keyed property key-value pairs
0 commit comments