Commit Graph

10 Commits

Author SHA1 Message Date
ayer21 e5b0c88297
New simple solution proposed
this solution is based on two nested loops, one that takes an item from the first array, and one that checks if it's equal to a value in the second array, by looping through the second array.
it also uses the splice method to remove the item from the array. so no need to create a new one.
2022-04-22 02:37:14 +00:00
Yasikhorram 5b5687862a correct the term spread operator to rest operator + reduce the space between . and If 2021-10-27 14:46:13 -05:00
Kevin Mulhern a1c56276ea Merge branch 'chore/switch-to-jest' into jest-solutions 2021-05-18 00:42:57 +01:00
Michael Frank 5708c3d85a Added jest
Removed generator-exercises folder as it breaks jest-codemods

run jest-codemods on .spec.js files, move generator-exercises back in

Change references from Jasmine to Jest in main readme

Update README with Jest specific language. Update some spec files with new syntax

update tests, multiple exercises

.gitignore: Added package-lock.json, package.json that were used when I ran code-blocks over the tests.

Standardised function declaration calls across exercises

fix typo in caesar.spec.js

Ignoring package-lock.json, package.json

Backtrack on .gitignore modification, add instructions to readme

move files from testing repo to this repo

Typo fixes, remove duplicate exercise folder

Remove solution from non-solution branch

Minor grammatical fixes

added trailing semicolon to all function and module exports

Fix words caught by search/replace action.

remove doubled semicolon.

Correct words caught by search/replace action.

Add missing semicolon.

Add .DS_Store to .gitignore

multiple files: Added a blank line at the end of each file

Ignore generator-exercise when linting exercise files

Update exercise number of each exercise

Update exercise number
2021-05-17 23:46:49 +01:00
Michael Frank 749a48adee Tweak matchers in removeFromArray, pull pigLatin solution from old branch 2021-04-30 22:12:52 +12:00
Étienne Boisseau-Sierra 00407bdee5 Transform 'let' in 'const' where needs be 2018-08-07 11:25:16 +01:00
Étienne Boisseau-Sierra 3a9251d55e Transform 'var' in 'let' 2018-08-07 11:25:16 +01:00
Cody Loyd 829730fb79 Revert "remove class based exercises"
This reverts commit 290e7f1da4.
2017-11-24 14:23:16 -06:00
Cody Loyd 290e7f1da4 remove class based exercises 2017-11-20 13:51:01 -06:00
Cody Loyd c501b322f8 remove numbering 2017-09-20 11:02:31 -05:00