0

Why doesnt it work [SOLVED]

I made a game who mandate the player to match tile by tile and once it is done, the tile will splice to their match. But it seems that it isnt working. How can i solve that? https://code.sololearn.com/W0Gy13I8qWf7/?ref=app

16th Dec 2020, 6:10 AM
Tri Satria [NEW]
Tri Satria [NEW] - avatar
2 Respuestas
+ 1
don't you need semicolons at the end of the code line? Like: var x = j * size; var y = i * size; var w = size; var h = size;
16th Dec 2020, 6:49 AM
Shadoff
Shadoff - avatar
0
It isnt a mandatory of placing semicolons in the end in js
16th Dec 2020, 10:08 AM
Tri Satria [NEW]
Tri Satria [NEW] - avatar