title: An Error of variable.split(',') is not a function
body: <p>I have this as a result in my inspector
  <a href="https://i.stack.imgur.com/OEvtj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OEvtj.png" alt="enter image description here"></a></p>
  
  <p>This is how I receive it from my signalr server</p>
  
  <pre><code> /**
     * Tunnel to receive message from the server
     * @param serverMessage = message from the server
     */
    onMessageReceived(serverMessage: string) {
      console.log(serverMessage);
      const x = serverMessage.split(',');
      console.log(x);
      return serverMessage;
    }
  </code></pre>
  
  <p>I get the result seen in the image above but when I use the serverMessage.split(','), I get the error of "ERROR TypeError: serverMessage.split is not a function"</p>
  
  <p>Can you please show me hot to make the result into an array? If you will notice the beginning of the image there is a number "(19477)". What is that? Is that a number of lines? Or is it the number of array items?</p>