mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-12 15:50:20 -08:00
Add missing semicolons
This commit is contained in:
@@ -260,8 +260,8 @@ async function main()
|
|||||||
str = await input();
|
str = await input();
|
||||||
// Check if user types anything other than a number
|
// Check if user types anything other than a number
|
||||||
if (isNaN(str)) {
|
if (isNaN(str)) {
|
||||||
print("INVALID INPUT. TRY ENTERING A NUMBER INSTEAD.\n")
|
print("INVALID INPUT. TRY ENTERING A NUMBER INSTEAD.\n");
|
||||||
continue
|
continue;
|
||||||
}
|
}
|
||||||
x = parseInt(str);
|
x = parseInt(str);
|
||||||
y = parseInt(str.substr(str.indexOf(",") + 1));
|
y = parseInt(str.substr(str.indexOf(",") + 1));
|
||||||
|
|||||||
Reference in New Issue
Block a user