scaleSelf

fun scaleSelf(    scaleX: Double = definedExternally,     scaleY: Double = definedExternally,     scaleZ: Double = definedExternally,     originX: Double = definedExternally,     originY: Double = definedExternally,     originZ: Double = definedExternally): DOMMatrix(source)

The scaleSelf() method of the DOMMatrix interface is a mutable transformation method that modifies a matrix by applying a specified scaling factor, centered on the given origin, with a default origin of (0, 0), returning the scaled matrix.

MDN Reference