Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

A-1 More interesting person

Create 2 arrays and store there the collection of hobbies for 2 people that you know. Eventually one of those can have potentially have more hobbies than the other one.

Write a global function, the most re-usable way you can, that compares which one of them has the most hobbies and prints a message to the console ('John Doe is more interesting person than Jake Dack'). (Assuming that you know their names by heart, the arrays shouldn't contain any other piece of info than the hobbies themselves as strings).