inverse

The inverse() method of the DOMMatrixReadOnly interface creates a new matrix which is the inverse of the original matrix.

MDN Reference