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",