Question: How do you remove the property name from this object?

  1. delete name from foo;
  2. delete foo.name;
  3. del foo.name;
  4. remove foo.name;

Answer: The correct answer of the above question is Option B:delete foo.name;