Consider var person=JSON.parse('{"name":"Alice","id",1234}')
.
How do I remove a key from the variable person? For example, how do I remove "name" completely, so that person
becoems {"id":1234}
?
Consider var person=JSON.parse('{"name":"Alice","id",1234}')
.
How do I remove a key from the variable person? For example, how do I remove "name" completely, so that person
becoems {"id":1234}
?