js if or not working
<p>I've been working on this for over an hour now and don't know whats wrong with it...
code is below</p>

<pre><code>var webkit = (browsername == (("Safari")||("Chrome")))? true : false;
</code></pre>

<p>It should return a true value for chrome and safari but not Internet Explore, Opera or Firefox
I don't get why it returns true with safari but not chrome? any suggestions?</p>

<p>Even when I change it up a bit it still does this </p>

<pre><code>if (browsername == (("Safari")||("Chrome")))
        webkit = true;
</code></pre>

<p>Am I doing my <strong>or</strong> wrong?</p>
