A programmer should use a language as a tool, always taking advantage of language-specific data types and built-in functions.
Public questions (free account) are common interview questions. They are great for practicing, or if you want to filter candidates using the classic problems.
Implement the removeProperty function which takes an object and property name, and does the following:
If the object obj has a property prop, the function removes the property from the object and returns true; in all other cases it returns false.
- Property removed: Wrong answer
- Correct return value: Wrong answer