Unless we protected them manually. :d And a protected method is still overwrite-able by altering the native namespace directly (without using MooTools.extends()) if I understood well.
Next question: delete prototype[key]; prototype[key] = proto.protect(); What's the use of the delete considering that the deleted key is eventually replaced? Preventing memory leaks? On 8 fév, 21:24, Christoph Pojer <[email protected]> wrote: > that's not true. 'keys' is protected (see Core.js), that's why its not being > overwritten by extends. Several protected methods (ES3/ES5) are not > overwritable by default in MooTools. .extends usually overwrites methods.
