scale3d

fun scale3d(    scale: Double = definedExternally,     originX: Double = definedExternally,     originY: Double = definedExternally,     originZ: Double = definedExternally): DOMMatrix(source)

The scale3d() method of the DOMMatrixReadOnly interface creates a new matrix which is the result of a 3D scale transform being applied to the matrix.

MDN Reference