Skip to content

Remove the repetition from the hello world example#14

Open
dsyme wants to merge 1 commit intomainfrom
dsyme/remove-repetition
Open

Remove the repetition from the hello world example#14
dsyme wants to merge 1 commit intomainfrom
dsyme/remove-repetition

Conversation

@dsyme
Copy link
Contributor

@dsyme dsyme commented Jul 2, 2024

Related to #5

Refactor app.ts to remove repetition in console log statements

  • Add a function printMessages that logs "hello world" and "nice to meet you!!" once
  • Replace the repeated console log statements with three calls to printMessages

For more details, open the Copilot Workspace session.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant