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

use object literal property value shorthand and object destructuring #39

Merged

Conversation

DanielJDufour
Copy link
Collaborator

Minor Changes to Simplify Code

  • Use object destructuring when the new variable has the same name as the key from the object being pulled
  • Use object literal variable shorthand when creating objects

Tests pass:
image

@DanielJDufour DanielJDufour merged commit a39e47a into proj4js:master Apr 24, 2019
@DanielJDufour DanielJDufour deleted the UseObjectShorthandAndDestructuring branch April 24, 2019 15:57
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