I can’t say for sure at the moment but the intention seems wrong. You need to see about how the prototype works to understand the problem here. Anyway, this article is going to get a refresh soon according to the current state of the ECMAScript proposal.
↧