mirror of
https://github.com/inexorabletash/jsbasic.git
synced 2025-01-02 03:30:11 +00:00
Missing semicolons
This commit is contained in:
parent
c29683009c
commit
92df9eb56d
4
basic.js
4
basic.js
@ -532,7 +532,7 @@ this.basic = (function() {
|
||||
},
|
||||
|
||||
'on_goto': function ON_GOTO(index /* , ...lines */) {
|
||||
index = Math.floor(index)
|
||||
index = Math.floor(index);
|
||||
if (index < 0 || index > 255) {
|
||||
runtime_error(ERRORS.ILLEGAL_QUANTITY);
|
||||
}
|
||||
@ -553,7 +553,7 @@ this.basic = (function() {
|
||||
},
|
||||
|
||||
'on_gosub': function ON_GOSUB(index /* , ...lines */) {
|
||||
index = Math.floor(index)
|
||||
index = Math.floor(index);
|
||||
if (index < 0 || index > 255) {
|
||||
runtime_error(ERRORS.ILLEGAL_QUANTITY);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user