Commit Graph

16 Commits

Author SHA1 Message Date
Austin Sullivan 5269a14e7e
Remove arrays from solution multiplication tests 2023-09-24 11:22:36 -04:00
Will 44e39f0412
Update calculator-solution.js 2023-07-16 16:06:25 -05:00
Will f855eb51b2
Update calculator-solution.spec.js 2023-07-16 16:02:03 -05:00
Will e10ee035ad
Update calculator.spec.js 2023-07-16 15:59:50 -05:00
cats256 03e52ea9ee Improve sum and multiply functions solution code 2023-07-04 11:55:08 -05:00
cats256 075fe8eea2 Reformat test parameters for consistency 2023-07-04 11:38:40 -05:00
Cody Loyd 8692f0ea18
Merge pull request #364 from fruddenfeldt/dev
New solution to match updated test syntax
2023-06-07 14:56:36 -05:00
fruddenfeldt 175ee761e1
Update calculator-solution.js 2023-06-07 19:58:54 +02:00
fruddenfeldt 80f7881a26
New solution to match updated test syntax
See separate PR "Removed array syntax in multiply test #359"  

https://github.com/TheOdinProject/javascript-exercises/pull/359
2023-06-06 23:01:36 +02:00
fruddenfeldt b6e9e2fac3
Removed array syntax in multiply test
The test for the 'multiply' function used array brackets [] for the input parameters, which caused the test to return an error when rest parameters (...args) are used in the function, like so:

const multiply = function(...args){
  return args.reduce((acc, cur) => acc * cur);
}
2023-05-22 21:08:37 +02:00
thatblindgeye e416717ba9 Remove test skips for solutions 2023-02-01 18:58:58 -05:00
thatblindgeye 2ec0f4344d Updated file paths 2023-02-01 18:53:54 -05:00
thatblindgeye 4a112362c8 Update files 2023-01-21 12:53:41 -05:00
thatblindgeye fb1a2db8d7 Add solution directories for exercises 2022-02-20 14:07:44 -05:00
Briggs Elsperger 74ab0b7cc6 add clarifiying comment about not removing code 2021-09-11 16:18:55 -06:00
Benjo Kho 61f38bf60c Rename folders with numbers and underscores 2021-08-07 14:52:11 +08:00