I understand that is is used sometimes for performance because it doesn't allocate memory

Reply to this note

Please Login to reply.

Discussion

I understand why you would want it, but a read-only property and a `clear` method would make way more sense. But it's javascript, you can't be too harsh

Yeah way more but I would never ask JavaScript for logic