From c8afae13fa54429e50ac3c7339d4ec6e5661ea54 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Thu, 12 Dec 2024 12:01:07 -0800 Subject: [PATCH] Update files/en-us/web/api/dommatrixreadonly/inverse/index.md Co-authored-by: wbamberg --- files/en-us/web/api/dommatrixreadonly/inverse/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/dommatrixreadonly/inverse/index.md b/files/en-us/web/api/dommatrixreadonly/inverse/index.md index e27ca30153239ed..034168012183c40 100644 --- a/files/en-us/web/api/dommatrixreadonly/inverse/index.md +++ b/files/en-us/web/api/dommatrixreadonly/inverse/index.md @@ -8,7 +8,7 @@ browser-compat: api.DOMMatrixReadOnly.inverse {{APIRef("Geometry Interfaces")}}{{AvailableInWorkers}} -The **`inverse()`** method of the {{domxref("DOMMatrixReadOnly")}} interface creates a new matrix being the result of the inverse of the original matrix. If the matrix cannot be inverted, the new matrix's components are all set to `NaN` and its {{domxref("DOMMatrixReadOnly.is2D", "is2D")}} property is set to `false`. The original matrix is not changed. +The **`inverse()`** method of the {{domxref("DOMMatrixReadOnly")}} interface creates a new matrix which is the inverse of the original matrix. If the matrix cannot be inverted, the new matrix's components are all set to `NaN` and its {{domxref("DOMMatrixReadOnly.is2D", "is2D")}} property is set to `false`. The original matrix is not changed. To mutate the matrix as you invert it, see {{domxref("DOMMatrix.invertSelf()")}}