This is an important message requiring you to make a choice if you're based in the EU.
The console.log() method outputs a message to the web console. Read the tutorial and learn the simplest method of putting a single or multiple styles to it.
You can either loop through the arrays or convert them to string and then compare. This tutorial provides several fast methods of comparing two arrays.