title: Best way convert number to string javascript?
body: <p>What is the best way to convert a number to string in javascript?
  I am familiar with these four possibilities: </p>
  
  <p><strong>Example 1:</strong></p>
  
  <pre><code>let number = 2;
  let string1 = String(number);
  </code></pre>
  
  <p><strong>Example 2</strong></p>
  
  <pre><code>let number = 2;
  let string2 = number.toString();
  </code></pre>
  
  <p><strong>Example 3</strong></p>
  
  <pre><code>let number = 2;
  let string3 = "" + number;
  </code></pre>
  
  <p><strong>Example 4</strong></p>
  
  <pre><code>let number = 2;
  let string4 = number + "";
  </code></pre>
  
  <p>All examples giving the same result, but what is the best option to choose based on Performance? Or is it personal preference? </p>
  
  <p>Thanks for answering.</p>