showing results for - "delete kvp object"
Juan Manuel
07 Oct 2017
1// remove key-value pair from object
2let person = {
3  name: 'Bob',
4  age: 34
5};
6
7delete person['age'];
8console.log(person); // { name: 'Bob' }