Skip to content

Restructure random element retrieval#3

Open
arushsharma24 wants to merge 1 commit intosameerkumar18:masterfrom
arushsharma24:master
Open

Restructure random element retrieval#3
arushsharma24 wants to merge 1 commit intosameerkumar18:masterfrom
arushsharma24:master

Conversation

@arushsharma24
Copy link
Copy Markdown

Changes in buzzwords.js :-

  • Instead of randomizing the whole array and selecting the last element, I just pick a random element from the array. I believe this to be neater.
  • Formatted the code using prettify

Changes in app.js :-

  • No change, just formatted using prettify

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are only formatting changes that were made automatically by a formatter I used in VSCode.

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