title: correct way of comparing string jquery operator =
body: <p>Is this the correct way? I want the statement to run if the value of somevar equals the string? </p>
  
  <pre><code>if (somevar = '836e3ef9-53d4-414b-a401-6eef16ac01d6'){
   $("#code").text(data.DATA[0].ID);
  }
  </code></pre>