Open dijs opened 11 years ago
Salient detail: the "delete" operation forces JIT compilers to completely redo their type trees in most modern browsers. This construction, once translated to native JS, is going to wreck performance.
So, should we just learn to use JS without using the delete operation?
Pretty much. There isn't really any solid use case for ever using the delete operator. For each use case you might consider it in, there is generally a better solution that doesn't involve using it.
Cannot delete using dynamic property key...
For example:
You see the problem?
We need a way of deleting with dynamic keys.