Skip to content
Sign upLog in
← Back to Community

Why does it say that my variable is not defined

Profile icon
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
Profile icon
Billy3456789
Comments
hotnewtop
Profile icon
XCode101

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