Commit Graph

4 Commits

Author SHA1 Message Date
Will e10ee035ad
Update calculator.spec.js 2023-07-16 15:59:50 -05:00
cats256 075fe8eea2 Reformat test parameters for consistency 2023-07-04 11:38:40 -05: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
Benjo Kho 61f38bf60c Rename folders with numbers and underscores 2021-08-07 14:52:11 +08:00