Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tungstengmd authored Mar 13, 2024
1 parent 173c7a9 commit d288de4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions script.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
const sleep = (delay) => new Promise((resolve) => setTimeout(resolve, delay)); //IT'S 9PM GO TO SLEEP
console.log("The scripts are: the multiplier, the one that states your favourite colour, the name swapper, the
little test I made, the weekly pay calculator, the address formatter, the Uber ® fare calculator, my while loop
test and the number detector.") sleep(1) startScript = prompt("Which script should be started? Answer with 1 to
9 respectively. Check the console for the script list.");
console.log("The scripts are: the multiplier, the one that states your favourite colour, the name swapper, the little test I made, the weekly pay calculator, the address formatter, the Uber ® fare calculator, my while loop test and the number detector.")
sleep(1)
startScript = prompt("Which script should be started? Answer with 1 to 9 respectively. Check the console for the script list.");
switch (startScript) {
case "1":
number1 = prompt("What number do you wish to multiply?");
Expand Down

0 comments on commit d288de4

Please sign in to comment.