Methods for arrays

Report a typo

Here are two arrays that you have to compare. You need to throw an error if they are not equal.

const backendLangs = ['Node.js', 'Python', 'Ruby', 'Java', '.Net', 'PHP'];
const userLangs = ['Node.js', 'Python', 'C#', 'Go', '.Net', 'PHP'];

What methods should you choose to compare the two arrays?

Select one or more options from the list
___

Create a free account to access the full topic