Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Build a Two-Dimensional Array

Jiten Mehta
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jiten Mehta
Front End Web Development Techdegree Graduate 21,209 Points

The suites symbol does not appear in my console

Hi guys, i think i've got this working, however, in my console the suites symbols don't appear. Instead i get other characters.

For example,

(52) [Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2), Array(2)]

0: (2) ["10", "♠︎"]

1: (2) ["6", "♦︎"]

2: (2) ["Ace", "♥︎"]

3: (2) ["7", "♥︎"]

4: (2) ["King", "♥︎"]

5: (2) ["3", "♥︎"]

6: (2) ["Ace", "♦︎"]

7: (2) ["Jack", "♥︎"]

8: (2) ["7", "♦︎"]

9: (2) ["Ace", "♣︎"]

10: (2) ["9", "♣︎"]

11: (2) ["8", "♥︎"]

I'm not using workspaces, i'm using my own code editor. Is this why?

Thanks guys, Jiten.

1 Answer

Steven Parker
Steven Parker
231,210 Points

If your editor isn't designed to show HTML character entities that might indeed explain the issue.