Javascript - Practice Questions
Javascript Practice Questions
1.1
Exercise

Extract property from object

Finish the function definition below.

Given an object obj and a key k, the function getProperty should return the value of property k from object obj.