* Optimised the factorial function.
There was previously an unnecessary check for if the number was 0 or 1.
* Create WhileLoopFactorial.test.js
The test was not present previously.
* result *= num
* Update WhileLoopFactorial.test.js
* testFactorial function
* Space for formatting.
* should fix the formatting issues. I was having trouble with npx standard, so I just used the online verifier at https://standardjs.com/demo.html