The second technique doesn't actually remove the property: it creates another object without a property. It's widely used if immutability is a constraint.
If you want another proper way, you can use Reflect.deleteProperty.
Not only I'm not going to star it, but I downvoted this post because of the obvious SPAM and I'll let moderators know about it.
Why should we care about something in Rust in Echo *JS*?!