The rotateSelf() method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.
rotateSelf()
MDN Reference