title: Storing mathematical operators in variable?
body: <p>The issue is simple, but I didn't found what I wanted yet. Basic example:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>const firstNumber = 5;
  const secondNumber = 3;
  
  let operator = "-";
  
  const string = `${firstNumber} ${operator} ${secondNumber}`;
  
  const unfortunatelyNaN = Number(string);
  
  console.log(string, unfortunatelyNaN)</code></pre>
  </div>
  </div>
  </p>
  
  <p>The above is just my way of thinking, but anything which makes me able to dynamically change the operator is fine. Any ideas?</p>