Javascript Challenge #3: Switch Key & Value

Javascript Challenge #3: Switch Key & Value

This is another basic javascript challenge for beginners. The challenge here is to swtich key and value of properties in an object.