title: Is this a valid JS code at all?
body: <p>I'm no expert on JS and I try to be humble (once I criticized the triple equality sign and got my fish fried really badly, hehe) so I'd need to verify if the following is a valid JS code at all. It's missing a semicolon and, at first, it looks weirdly but who knows - maybe it's an OK expression anyway and I'm just ignorant.</p>
  
  <pre><code>if (l != "1" || e == "" || g == "") {
    e = null;
    g = null
  }
  </code></pre>
  
  <p>I suspect that it's faulty to the to last assignment to <em>g</em> because I <strong>know</strong> it's erroneous in regard to the equality signs. But I'd like to have it on record before I mention it to others.</p>