diff --git a/47_Hi-Lo/javascript/hi-lo.js b/47_Hi-Lo/javascript/hi-lo.js index 362e40a3..6964570d 100644 --- a/47_Hi-Lo/javascript/hi-lo.js +++ b/47_Hi-Lo/javascript/hi-lo.js @@ -86,6 +86,7 @@ async function main() print("\n"); print("PLAY AGAIN (YES OR NO)"); str = await input(); + str = str.toUpperCase(); if (str != "YES") break; }