From 99c28a30c94a95cca89cd4e290b04c5fe7b04fd8 Mon Sep 17 00:00:00 2001 From: David Roe Date: Mon, 18 Sep 2023 11:45:16 +0100 Subject: [PATCH] fix: add toString to js reflexive calls (#1277) --- internal/languages/javascript/analyzer/analyzer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/languages/javascript/analyzer/analyzer.go b/internal/languages/javascript/analyzer/analyzer.go index 79dccc38c..a0cfe6aaa 100644 --- a/internal/languages/javascript/analyzer/analyzer.go +++ b/internal/languages/javascript/analyzer/analyzer.go @@ -12,6 +12,7 @@ import ( // methods that use `this` in their result var reflexiveMethods = []string{ + "toString", // String "replace", "replaceAll",