Skip to content

Commit

Permalink
Shuffling random sentences
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Laurent de Morlhon <[email protected]>
  • Loading branch information
jeanlaurent committed Jan 25, 2024
1 parent 785ea28 commit 5d6bda0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,11 @@
<script>
var sentences = [
"Hello, World!",
"System.out.println(\"Hello, World!\");",
"console.log(\"Hello, World!\");",
"printf(\"Hello, World!\n\");",
"cout << \"Hello, World!\" << endl;"
"Hello from Docker!",
"Ahoy, Captain !",
"Contain Yourself !",
"Whale, Hello there !",
"Whalecome !"
];
var txt = sentences[Math.floor(Math.random() * sentences.length)];
var i = 0;
Expand Down

0 comments on commit 5d6bda0

Please sign in to comment.