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

Refactor "filer/tests/spec/fs.mkdir.spec.js" to follow ES6 syntax with "const/let" instead of "var" #672

Closed
ApolllonDev opened this Issue Jan 25, 2019 · 2 comments

Comments

Projects
None yet
2 participants
@ApolllonDev
Copy link
Contributor

ApolllonDev commented Jan 25, 2019

fs.mkdir.spec.js file contains var declarations

In order to follow ES6 standards, the following changes are required:

  • Refactor the code to use let and const instead of var
  • Invoke a strict mode
@humphd

This comment has been minimized.

Copy link
Contributor

humphd commented Jan 25, 2019

Sounds good, go for it @ApolllonDev.

@ApolllonDev

This comment has been minimized.

Copy link
Contributor Author

ApolllonDev commented Jan 30, 2019

humphd added a commit that referenced this issue Feb 5, 2019

Fix issue #672 : Refactor "filer/tests/spec/fs.mkdir.spec.js" to foll…
…ow ES6 syntax with "const/let" instead of "var" (#722)

* Solution for issue-672

* Removed extra 'use strict';

@humphd humphd closed this Feb 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.