# Cannot log a string with console.log?

**URL:** <https://meta.discourse.org/t/cannot-log-a-string-with-console-log/162960>\
**Category:** Development\
**Created:** [September 3, 2020, 7:41pm UTC](https://meta.discourse.org/t/cannot-log-a-string-with-console-log/162960 "2020-09-03T19:41:20Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [September 3, 2020, 8:38pm UTC](https://meta.discourse.org/t/cannot-log-a-string-with-console-log/162960/3 "2020-09-03T20:38:37Z")

</div>

It’s a map of a group to their desired home page.

```
     description: "group,c/cat/5|group2,c/cat2/6"

```

So I’m splitting on `|` to get each pair and then split those on the `,` to get

- group → c/cat/5
- group2 → c/cat2/6

But that doesn’t explain why `console.log("Hello world!");` isn’t producing text. . .

---

_[View the full topic](https://meta.discourse.org/t/cannot-log-a-string-with-console-log/162960)._
