• Luke Vang 48
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
Hey,

I'm trying to delete property on one of my objects, but I"m seein this error:

Cannot delete property 'Field Name' of #<Object>

I've already verified the field is on the object, so I know the error isn't due to it missing or anything. But guessing because of the new secure objects we arn't able to call a delete on the object to remove the property?

Here's an example of what I'm trying to do:
if(object[fieldx]){
    console.log(object);
    delete object[fieldx];  
   }