diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,8 @@ const ANTITANK = 2 const ARTILLERY = 3 function set_has(set, item) { + if (!set) + return false let a = 0 let b = set.length - 1 while (a <= b) { |