{"id":21659189,"url":"https://github.com/joshuacc/js-practice-problems","last_synced_at":"2026-05-08T08:33:01.471Z","repository":{"id":138352395,"uuid":"559345010","full_name":"joshuacc/js-practice-problems","owner":"joshuacc","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-29T20:56:30.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-25T07:08:33.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshuacc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-29T20:28:14.000Z","updated_at":"2022-10-29T20:29:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed8594ca-bd41-4b8f-a5d6-23c253294706","html_url":"https://github.com/joshuacc/js-practice-problems","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshuacc%2Fjs-practice-problems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshuacc%2Fjs-practice-problems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshuacc%2Fjs-practice-problems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshuacc%2Fjs-practice-problems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshuacc","download_url":"https://codeload.github.com/joshuacc/js-practice-problems/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244555857,"owners_count":20471513,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T09:30:38.218Z","updated_at":"2026-05-08T08:32:56.427Z","avatar_url":"https://github.com/joshuacc.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JS Practice Problems\n\n## Getting started\n\n1. Clone this repository to your computer (if you're not familiar with how, I recommend Github Desktop)\n2. Open this folder in VS Code\n3. Open the terminal in VS Code\n4. Type `npm ci` and execute it\n5. Type `npm test` and execute it. You should see a message saying that there are several ignored tests.\n\nNow everything is set up. In the problems/functions-1 folder, you'll find a JavaScript test file. That test file consists of a series of tests describing various functions that haven't been written yet.\n\nTo do the exercise change the relevant `xdescribe` to just `describe`, then run `npm test` to see the results.\n\nYou should see at least one test failure. That is intended.\n\nNow it is your job to write the corresponding function to make the tests pass. Once you believe that your function is correct or close to it, run `npm test` again to see if it passes the tests.\n\nThe `npm test` command should give you output showing whether your function worked or not, and if it didn't, it should describe a bit about what was wrong with it.\n\nKeep doing that until you've completed all the exercises.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshuacc%2Fjs-practice-problems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshuacc%2Fjs-practice-problems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshuacc%2Fjs-practice-problems/lists"}