Implement the function isArrayIdentical in helper.js without sorting them

It should return true if two arrays have the same elements. The order of the elements doesn’t matter.

Arrays will only have plain fields (strings, numbers or booleans)
Don’t sort the arrays to pass the efficiency test.

This task is part of the Full-Stack JavaScript Course
If you have any issues with it, you can ask for community help below the post
Feel free to help others if you’ve already solved the task

helper.js

export const isArrayIdentical = () => {
  return true;
}

solution.js

/**
 * Implement isArrayIdentical function in helper.js without sorting
 *
 * It should return true if two arrays have the same elements. Order of the elements doesn't matter.
 *
 * Arrays will only have plain fields (strings, numbers or booleans)
 *
 * Don't sort the arrays to pass the efficiency test.
 * */

import { isArrayIdentical } from './helper.js';

const parkingLot = ['toyota', 'bmw', 'honda'];
const garage = ['bmw', 'honda', 'toyota'];
const policeStation = ['mercedes', 'bmw', 'honda'];

console.log(isArrayIdentical(parkingLot, garage)); //true
console.log(isArrayIdentical(parkingLot, policeStation)); //false