code: function (array1, array2) {
                  return array1.every(function (element) {
                      return array2.includes(element);
                  }) && array1.length === array2.length;
              }
docs: checks if two array contain the same values
  @param {?} array1 - array 1
  @param {?} array2 - array 2
  @return {?} boolean