title: Joining two strings with a comma and space between them
body: <p>I have been given the two strings <code>"str1"</code> and <code>"str2"</code> and I need to join them into a single string. The result should be something like this: <code>"String1, String 2"</code>. The <code>"str1"</code> and <code>"str2"</code> variables however do not have the <code>", "</code>.</p>
  
  <p>So now for the question: How do I join these strings while having them separated by a comma and space?</p>
  
  <p>This is what I came up with when I saw the "task", this does not seperate them with <code>", "</code> though, the result for this is “String2String1”.</p>
  
  <pre><code>function test(str1, str2) {
  
      var res = str2.concat(str1);
  
      return res;
  
  }
  </code></pre>