rotateAxisAngleSelf

fun rotateAxisAngleSelf(    x: Double = definedExternally,     y: Double = definedExternally,     z: Double = definedExternally,     angle: Double = definedExternally): DOMMatrix(source)

The rotateAxisAngleSelf() method of the DOMMatrix interface is a transformation method that rotates the source matrix by the given vector and angle, returning the altered matrix.

MDN Reference