Returns the max x and y of a set of vectors.
Destination the componentwise maximum is written into. Its initial components do not participate in the comparison.
The vectors or scalars to take the maximum across.
Error - When a computed component is NaN or non-finite, including when called with no values.
max({ x: 0, y: 0 }, { x: 1, y: -1 }, { x: 2, y: -2 }); // -> { x: 2, y: -1 } Copy
max({ x: 0, y: 0 }, { x: 1, y: -1 }, { x: 2, y: -2 }); // -> { x: 2, y: -1 }
Returns the max x and y of a set of vectors.