Cannot log a string with console.log?

Did you mean to split by |? Why not ,?