title: Comparing two variables JavaScript
body: <p>I am new to programming and JavaScript so please bear with me if its a stupid question.</p>
  
  <p>I initialised two variables</p>
  
  <pre><code>let firstName = "blah";
  let FirstName = "bleh";
  </code></pre>
  
  <p>When i write a below if statement i expected the output to be "right on" since the variable names are different (case-sensitive), but i get "boink". Could anyone kindly explain whats happening here?</p>
  
  <pre><code>if (firstName = FirstName) {
      console.log('boink')
  } else {
      console.log('right on')
  }
  </code></pre>