Query module ConflictingFunctions

name
Conflicting function declarations
description
If two functions with the same name are declared in the same scope, one of the declarations overrides the other without warning. This makes the code hard to read and maintain, and may even lead to platform-dependent behavior.
kind
problem
problem.severity
error
id
js/function-declaration-conflict
tags
reliability correctness external/cwe/cwe-563
precision
high

Imports

javascript

Provides classes for working with JavaScript programs, as well as JSON, YAML and HTML.