Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make use of new node features + grammar and punctuation #3

Merged
merged 1 commit into from
Mar 8, 2021
Merged

feat: make use of new node features + grammar and punctuation #3

merged 1 commit into from
Mar 8, 2021

Conversation

splatterxl
Copy link
Contributor

  • Fixed grammar and punctuation in JSDoc and errors.
  • A constructor cannot return a value, instead made it throw a string.
  • Preferred nullish coalescing to the boolean OR operator.
  • Used optional chaining instead of a long line of &&s.

* Fixed grammar and punctuation in JSDoc and errors.
* A constructor cannot return a value, instead made it `throw` a string.
* Preferred [nullish coalescing](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_operator) to the boolean OR operator.
* Used optional chaining instead of a long line of `&&`s.
@splatterxl splatterxl changed the title feat: make use of new node features feat: make use of new node features + grammar and punctuation Mar 1, 2021
Copy link
Member

@DanPlayz0 DanPlayz0 left a comment

Choose a reason for hiding this comment

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

This pull request does "revoke" backwards compatibility of versions below/behind NodeJS 14.x. Other than that it is all good! 👍

@DanPlayz0 DanPlayz0 merged commit ef1801f into Void-Bots:master Mar 8, 2021
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.

2 participants