Skip to content

Commit

Permalink
Remove the repetition from the hello world example
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyme committed Jul 2, 2024
1 parent 4302d96 commit 338a563
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions app.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
console.log("hello world");
console.log("nice to meet you!!");
console.log("hello world");
console.log("nice to meet you!!");
console.log("hello world");
console.log("nice to meet you!!");
function printMessages() {
console.log("hello world");
console.log("nice to meet you!!");
}

printMessages();
printMessages();
printMessages();

0 comments on commit 338a563

Please sign in to comment.