Ask coding questions

← Back to all posts
Why does it say that my variable is not defined
Billy3456789

So I am coding chess currently and on the king.js file there is a problem. whenever I run it it just says squareUR is not defined. Please help

Voters
Billy3456789
Comments
hotnewtop
XCode101

For me the problem is in knight.js because line 10, pos += ; nothing is added in the end.