title: How to convert object into string in javascript?
body: <p>I have a function that should take as an argument of the object and return a string</p>
  
  <p>The code I wrote.</p>
  
  <pre><code>function check(obj) {
    return obj.toString();
  }
  </code></pre>