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

Added DRY to src/calculator.js using _check() #2155

Closed
wants to merge 1 commit into from
Closed

Added DRY to src/calculator.js using _check() #2155

wants to merge 1 commit into from

Conversation

ShubhamTiwary914
Copy link

Reference to issue #1

Updated src/calculator.js for DRY

  • Added DRY using _check() method in calculator.js' methods
  • All tests ran correctly on testing via npm test
    image

@dantharejabot
Copy link
Collaborator

Thanks for the submission, @ShubhamTiwary914.

As mentioned in the contributing guidelines, I can only accept a pull request made to your branch.

This is a weird requirement, but it's necessary here in order to allow multiple people to contribute the same code. In the real world, most projects would expect you to open a Pull Request against the master base branch.

Click here to open this pull request to your branch

Want to contribute to the master branch? Open an issue in the partner repo and let's talk.

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