Skip to content

Conversation

@lucasrafaldini
Copy link

Replacing empty named functions by ES6's arrow functions

Replacing empty named functions by ES6's arrow functions
@thomaspark
Copy link
Owner

Hey @lucasrafaldini, thanks for the PR.

We have take care replacing functions with arrow functions because there are several places within the functions where this is used, and this change will affect their values. See: https://stackoverflow.com/questions/31095710/methods-in-es6-objects-using-arrow-functions

We can keep functions as is, or also replace this with game.

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