let mario = {
x: 20,
w: 20,
h: 40,
y: canvas.height-mario.h,
speedX: 0,
speedY: 10,
dx: 4,
dy: -7,
color: "black",
canJump: true,
onGround: true,
}
export default mario
when i try the following code i get error as
player.js:5 Uncaught ReferenceError: Cannot access 'mario' before initialization
at player.js:5:22
please help me and provide me insights