Skip to content
Advertisement

Extract the assignment of from this expression with sonarQube

when I launch a sonar control I find myself with a smells code for the following function:

JavaScript

I get the following sonar alert:

Extract the assignment of “item.media” from this expression.

What would be the solution to avoid this sonar message?

Advertisement

Answer

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement