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