A-5 Hire or Not
Imagine that you work currently as an HR manager in a company that wants to hire developers. The prerequisites for hiring someone is to know 3 of the 5 following programming languages. PHP, JavaScript, Ruby, Python and or Java.
If the candidate has at least 3 of these 5 skills then he should be hire.
Create an array that holds the prerequisites. And a different array that holds every candidate's skills. Write a function so it can be re-usable for multiple pre-requisites and multiple candidates at the same time.
Create an empty array to store the full name of the ones that got hired.
If the guy is hired, push his name to the employed ones array. At the end this array is going to contain the names for every person that got hired.
Hint: You may want to use the "includes" array method, which allows you to check if a specific value is included into an array or not and returns a boolean value. Check it here!