2009/12/12 morwo <lukaszewsk...@gmail.com>:
> On Dec 6, 8:31 am, Rafał Pocztarski <r.pocztar...@gmail.com> wrote:
>> 2009/12/3 shapper <mdmo...@gmail.com>:
>> Try using === instead of ==
>
> This is PHP operator, isn't? And we're talking here about javascript.

Yes, I somehow managed to figure it out that we're talking about JavaScript.

> Is there such operator in JS?

Yes, there is. It's an identity operator, which unlike the equality
operator doesn't do type coercion. Generally you should use the former
instead of the latter unless you know what you're doing.

Rafał Pocztarski

Reply via email to