https://github.com/indiesquidge/javascript-challenges
A collection of JavaScript coding challenges
https://github.com/indiesquidge/javascript-challenges
challenges javascript javascript-challenges sinon tape
Last synced: about 2 months ago
JSON representation
A collection of JavaScript coding challenges
- Host: GitHub
- URL: https://github.com/indiesquidge/javascript-challenges
- Owner: indiesquidge
- Created: 2017-02-19T09:24:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-11-20T02:56:33.000Z (almost 5 years ago)
- Last Synced: 2024-12-10T20:42:34.412Z (10 months ago)
- Topics: challenges, javascript, javascript-challenges, sinon, tape
- Language: JavaScript
- Homepage:
- Size: 29.3 KB
- Stars: 124
- Watchers: 8
- Forks: 88
- Open Issues: 6
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# JavaScript Challenges
A collection of JavaScript coding challenges.
## Getting Started
The only dependencies in this repo are for running the tests, which are written
in Tape and Sinon.Install the dependencies
```
npm i
```Then, in each challenge folder, you can run the following to see the tests for
that challenge.```
node -test.js
```## Solving Challenges
This repo is only a set of challenges, it does not include the answers to any of
the challenges.If you implement a solution of your own, please **do not** post it publicly on
this repository. Opening an issue or a pull request with a solution spoils the
experience of the challenge for other developers who find this repository.## Challenges
### Beginner
* [Babylonian square root method](/babylonian-method/)
* [Number frequency](/number-frequency/)### Intermediate
* [Stack machine calculator](/stack-machine-calculator/)
* [Target sum exists](/target-sum-exists/)
* [Balanced Parentheses](/balanced-parens/)
* [Add eventing](/add-eventing/)### Advanced
* [Object diffing](/object-diff/)
* [Recreate setInterval](/setinterval/)
* [Recreate Promise.all](/promise-dot-all/)## Relevant Reading
* [10 Interview Questions Every JavaScript Developer Should Know][js interview questions article]
[js interview questions article]: https://medium.com/javascript-scene/10-interview-questions-every-javascript-developer-should-know-6fa6bdf5ad95