From b5ae51cbdd52d188637f3786fe8303978fe02b94 Mon Sep 17 00:00:00 2001 From: lolabird Date: Tue, 7 Nov 2023 22:40:11 -0700 Subject: [PATCH] Remove unnecessary comments --- script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.js b/script.js index 62489f4..65424f3 100644 --- a/script.js +++ b/script.js @@ -11,8 +11,8 @@ const computer = document.querySelector("#computer"); buttons.forEach((button) => { button.addEventListener('click', () => { - ps = button.id; // Assign the button's id to the external variable - game(); // Start the game when the user makes a choice + ps = button.id; + game(); }); });