-3

I have this object:

  {"wordFormId":"abandon",
   "wordFormIdentity":1,
   "ascii":97,
   "wordId":"abandon",
   "primary":true,
   "posId":2}

How can I remove the ascii property? I know I could set it to null but I assume it would then still be there. What I would like to do is to completely remove it.

Samantha J T Star
  • 28,982
  • 82
  • 233
  • 406

1 Answers1

1

From this question

delete myObject.ascii;
// or,
delete myObject['ascii'];
Community
  • 1
  • 1