How to remove a property from object in JavaScript

Objects
By Jad Joubran · 
Last updated Dec 16, 2017
const repository = {
  id: 1,
  language: "javascript",
  public: true
};

delete repository.id;

console.log(repository);
{
    language: 'javascript',
    public: true
}
delete on MDN