Commit Graph

21 Commits

Author SHA1 Message Date
Michael Frank b984cb4c6f Merge branch 'master' of TOP/javascript-exercises 2021-05-09 00:29:44 +12:00
xandora e6a0bb03a5
Merge branch 'solutions' into master 2021-05-09 00:10:19 +12:00
Michael Frank 791a579823 Standardised function declaration calls across exercises 2021-04-29 21:33:30 +12:00
Michael Frank 2eb02ea212 update tests, multiple exercises 2021-03-10 00:12:25 +13:00
Michael Frank 7a001e0fdb run jest-codemods on .spec.js files, move generator-exercises back in 2021-03-03 15:25:29 +13:00
seoul2045 645cbc746f
Update calculator.js
The reduce() method syntax for callbacks assigns the accumulator value followed by the currentValue, so I think the above variables should be switched.
2019-05-16 09:49:12 +07:00
Rhys 3e28169672
Update calculator.js 2018-09-28 13:38:36 +08:00
Rhys 3182c2c22d
Update calculator.js 2018-09-28 13:36:03 +08:00
Rhys 5156aa6611
Update calculator.js 2018-09-28 13:35:40 +08:00
Rhys 7b03e764bb
Update calculator.js
Fix typo
2018-09-28 13:35:21 +08:00
Rhys d3412c1423
Update calculator.js 2018-09-27 14:18:29 +08:00
bchalman b030e9a66b
Fix return value of recursive factorial function
While the previous return functioned the same (because it was calling another factorial function), it was not recursive. All credit still to ThirtyThreeB, just thought this might confuse some people and was worth fixing!
2018-08-19 13:02:55 -07: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
Tommy d4ac500896 add xit to problems on calc spec file so make it consistent with other exercises 2018-07-23 11:50:39 -07:00
Jacob C Moore e8f9821be6
Update calculator.spec.js 2018-01-13 12:34:10 -05:00
Cody Loyd d63ee47dcb
Update calculator.js 2018-01-03 12:21:25 -06:00
ThirtyThreeB 83a2b6aead
Corrected solution to factorial function 2018-01-03 12:10:49 -05:00
Jakub Broz 5c78dc7ebe zero factorial is 1 2018-01-01 15:56:20 +01:00
Cody Loyd 834d78b8b2 remove timer and simon 2017-12-15 12:56:14 -06:00
Matthew-Cravinhos 818c14e0bd Fixed folder titles 2017-09-22 17:32:56 -04:00