Skip to content

Commit 66a4554

Browse files
Alex JamshidiAlex Jamshidi
authored andcommitted
changes added that weren't saved to last commit
1 parent 352aef9 commit 66a4554

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-2/interpret/invert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function invert(obj) {
2626
// { key: 2 }
2727

2828
// c) What is the target return value when invert is called with {a : 1, b: 2}
29-
// {"1": "a", "2": "b"}
29+
// {1: a, 2: b}
3030

3131
// c) What does Object.entries return? Why is it needed in this program?
3232
// It turns the object into an array of arrays

0 commit comments

Comments
 (0)