title: How to pass JSON into function and read back its JSON value
body: <p>Tried below codes to get back the JSON values from the function but receive error =&gt; SyntaxError: Unexpected token u in JSON at position 0</p>
  <pre><code>const data = {&quot;name&quot;: &quot;John Lemon&quot;, &quot;age&quot;:44}
  
  const getInformation = (data) =&gt; {
    const obj = JSON.parse(data)
    console.log(obj.name)
  }
  
  getInformation()
  </code></pre>