rotateSelf

fun rotateSelf(rotX: Double = definedExternally, rotY: Double = definedExternally, rotZ: Double = definedExternally): DOMMatrix(source)

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

MDN Reference