Commit graph

3 commits

Author SHA1 Message Date
marleyrae
288db60427 Make 08 tests pass 2023-06-19 16:55:57 -07: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
Renamed from 08 calculator/calculator.spec.js (Browse further)