Polygon Area (Shoelace)

Given the vertices of a simple polygon in order as arg1, where each vertex is [x, y], return the area of the polygon.

Use the shoelace formula:

$$ \text{Area} = \frac{1}{2}\left|\sum_{i=0}^{n-1} (x_i y_{i+1} - x_{i+1} y_i)\right| $$

with $(x_n, y_n) = (x_0, y_0)$.

Examples
Input: [1,2,3]
Output: 0
Hints

Polygon Area (Shoelace)

Given the vertices of a simple polygon in order as `arg1`, where each vertex is `[x, y]`, return the area of the polygon.