The difference between "[Object Point]" and "[Object Set]" is fundamental. Your application would not change any behavior without explicit creating "new Set". But changing behavior of existing code is something different - it can introduce subtle bugs in enclosed environment. 2 gru 2014 13:03 "Claude Pache" <claude.pa...@gmail.com> napisał(a):
> > Le 2 déc. 2014 à 09:04, Michał Wadas <michalwa...@gmail.com> a écrit : > > It probably would be backward incompatible change. Too much code depends > on [Object Object]. > > I'm curious to know what sort of code would be broken by > `O.p.toString.call(x) === "[object Point]"` for instances `x` of some > user-defined class? and whether it is not already broken by, say, > `O.p.toString.call(new Set) === "[object Set]"`? > > —Claude > >
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss