Invert Keys and Values

Objects ยท easy

Implement `invert(obj)` returning a new object where each value becomes a key and each key becomes the value.

Learning resources

Loading...

Run your code to see results.