please add orEqual operator
joeedh at gmail.com
Tue Aug 11 00:40:04 UTC 2015
Do you know *why* python gets away with that, though? It forcibly
amortizes the GC cost by using a hybrid reference counting/cyclic
collector scheme. That's not exactly fast, either, which is why no
one else does it.
On Mon, Aug 10, 2015 at 2:06 PM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> On Mon, Aug 10, 2015 at 1:53 PM, Brendan Eich <brendan at mozilla.org> wrote:
>> Please search for older proposals on ecmascript.org. You'd find
>> ES6 parameter default values took a look of wind out of this one's sails.
> You're pattern-matching incorrectly - this is not the default
> operator, it's "seeing if a var is any of several possible matches".
> But yeah, as Alexander said, Python gets by just fine by creating an
> array or tuple and asking about membership; using .contains() should
> be just fine in JS too.
> es-discuss mailing list
> es-discuss at mozilla.org
More information about the es-discuss