JavaScript array reduce() method executes a reducer function on each element of an array, resulting in a single output value.