Console error: 'Uncaught SyntaxError: Unexpected token : Learning sprites'

Console error: 'Uncaught SyntaxError: Unexpected token : Learning sprites'

这是我的code (I am linking it because I do not know where the problem is and I do not want to link it all to this post). I am getting this error in the console:
错误在第 57 行,但我不知道哪里出了问题。

rectangle = {
    height : 32,
    jumping : true,
    width : 32;
    x : 144,
    x_velocity : 0,
    y : 0,
    y_velocity : 0
};

只是一个小的语法错误导致了您的错误。更新此行:

rectangle = {
                height : 32,
                jumping : true,
                width : 32, // Replace ; with ,
                x : 144,
                x_velocity : 0,
                y : 0,
                y_velocity : 0
            };