I’m currently my way through the form validation project and all is fine, but I have a question. There are a few steps why we need to declare functions I personally prefer to do this in most cases, as arrow functions which pass the test, but in the very next step its been converted to a function declaration why?
Everyone has their own coding style, but if the code passes why does it keep it? Whats the reasoning behind it? I’d like to understand why its setup this way.