This might be duplicated question, but I could not find any.
I wanna remove a key of an object.
Please check my fiddle first.
delete obj.something;
When you check console, you'll be able to see the same object is printed in console in spite of using delete after first console.log
.
Why this happening?
And what is the best idea of remove a key of an object?
Thanks in advance.