The cross product can be thought of as the determinant of the two vectors plus the unit vectors, which just works out to the equation above, except that it holds true for any number of dimensions (that is, for N vectors with N + 1 elements)
| i  j  k  |
| a1 a2 a3 |   = AxB
| b1 b2 b3 |

For some reason, the official definition of cross-product is that it is only defined for vectors of three dimensions. However, the above formula will still work for other dimensions. In fact, Mathematica's cross() function will allow vectors of dimensions above 3.