Why does the following syntax show error? | SoloLearn: Learn to code for FREE!

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.

12/19/2017 6:02:59 PM

Black Frost

2 Answers

New Answer

0

Cool. Thanks! Js errors are too sneaky, like mcgyver in a jungle with only a toothpick, rubberband, and a soccer ball named wilson💩💩