jQuery JavaScript Language Public



Implement the removeProperty function that takes an object and a property name and does the following:

  • If object obj has property prop, it removes the property from the object.
  • If the property has been removed, it returns true; otherwise it returns false.
ECMAScript 6, jQuery v3.2.1 (available as $)

  •   Property removed: Wrong answer
  •   Correct return value: Wrong answer