0

Why does the following syntax show error?

const player { pos: {x: 5, y: 5}, matrix: matrix, } Following along a video and this comes up. shows an error for me but not him.

19th Dec 2017, 6:02 PM
Black Frost
Black Frost - avatar
2 Answers
0
Cool. Thanks! Js errors are too sneaky, like mcgyver in a jungle with only a toothpick, rubberband, and a soccer ball named wilsonđŸ’©đŸ’©
19th Dec 2017, 6:16 PM
Black Frost
Black Frost - avatar