Yup. This is way, Way lower priority than if(let|const).

/be

> On Dec 4, 2013, at 10:26 PM, Sean Silva <[email protected]> wrote:
> 
> 
> 
> 
>> On Tue, Dec 3, 2013 at 9:13 PM, Waldemar Horwat <[email protected]> wrote:
>>> On 12/03/2013 05:30 PM, Mark S. Miller wrote:
>>> What's ^^ ?
>> 
>> a^^b would essentially be the same as !a!=!b except that it would return the 
>> actual truthy value if it returns true.
> 
> Those semantics are extremely error-prone. `(("foo" ^^ "bar") ^^ "baz") !== 
> ("foo" ^^ ("bar" ^^ "baz"))`, and I doubt anyone will remember which 
> corresponds to `"foo" ^^ "bar" ^^ "baz"`?
> 
> Also, the syntax gives the impression that this is a short-circuiting 
> operator since it is a "doubled bitwise operator" like || and &&, but it 
> can't be short-circuiting.
> 
> -- Sean Silva
>  
>> 
>> 
>>     Waldemar
>> 
>> _______________________________________________
>> es-discuss mailing list
>> [email protected]
>> https://mail.mozilla.org/listinfo/es-discuss
> 
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to