From: "Dmitry Soshnikov" <dmitry.soshni...@gmail.com> > On 17.12.2011 17:21, Herby Vojčík wrote: > > Hello, > > > > from my point the scenario that: > > > > delete lib.toRussianName; > > > > then it still: > > > > typeof lib.toRussianName; // "function", Trollface ;D > > > > is much more acceptable (it happens everyday - there are non-writable > > properties everywhere), > > Yes, good point on non-configurable properties. So, we may justify this > broken invariant with `delete' which becomes not so broken. it's good.
Not so fast: the result of the delete expression differs in the non-configurable case (false) from the no-such-property case (true). /be _______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss