Very bad... This trick is the only one way I found to inherit from class exported by binary addon.
пятница, 8 июня 2012 г., 16:35:12 UTC+4 пользователь Tim Smart написал: > > __proto__ is marked for depreciation in upcoming ecmascript specs. I think > that is the most common reason you might find. > > Tim. > > On 31 May 2012 08:39, diversario <[email protected]> wrote: > >> Isaac, could you explain the reason __proto__ is not allowed in the core? >> I'm curious, since I see it used often in modules. >> >> >> On Monday, May 7, 2012 5:56:02 PM UTC-4, Isaac Schlueter wrote: >>> >>> The official position is that __proto__ is not allowed. >>> >>> The official position is also that all official positions are subject >>> to exception in the rare case that making an exception makes the code >>> simpler and more performant. TBD whether this case merits such an >>> exception. >>> >> >
