From 92df9eb56d7d7188dcebe00ecbd95bcba889ef36 Mon Sep 17 00:00:00 2001 From: Joshua Bell Date: Wed, 1 Aug 2018 18:43:57 -0700 Subject: [PATCH] Missing semicolons --- basic.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basic.js b/basic.js index 7f4c982..a1ca971 100644 --- a/basic.js +++ b/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); }