*shortcut

My last message was probably confusing, so continuing it -
By that, I mean that it makes more sense for 'contains' to exists already
on the web, than for 'includes'.


☆*PhistucK*

On Thu, Nov 27, 2014 at 1:55 PM, PhistucK <phist...@gmail.com> wrote:

> This is very debateable, really. To me, it makes sense (and in my
> experience, also exists) that "contains" makes more sense (as a shortcuts
> for return this.indexOf(str) !== -1) than 'includes'.
>
>
> ☆*PhistucK*
>
> On Thu, Nov 27, 2014 at 1:52 PM, Philip Jägenstedt <phil...@opera.com>
> wrote:
>
>> On Thu, Nov 27, 2014 at 9:27 AM, Dmitry Lomov <dslo...@chromium.org>
>> wrote:
>>
>> > 'include' was previously named 'contains' and has been renamed at the
>> last TC39 meeting. Firefox shipped 'contains' since release 17.
>>
>> It sure sounds like 'contains' would be less likely to cause trouble,
>> and is also a slightly better name IMHO.
>>
>> Is Mozilla on board with renaming it? If they're not keen, I think
>> following their lead with 'contains' makes more sense.
>>
>> Philip
>>
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to blink-dev+unsubscr...@chromium.org.
>>
>
>

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to