Skip to content

Fixed: Variables should be declared explicitly in Custom JS code (ROL-2157)#52

Merged
adityasharma7 merged 3 commits intoapache:roller-6.0.xfrom
adityasharma7:ROL-2157-6.0
Dec 19, 2019
Merged

Fixed: Variables should be declared explicitly in Custom JS code (ROL-2157)#52
adityasharma7 merged 3 commits intoapache:roller-6.0.xfrom
adityasharma7:ROL-2157-6.0

Conversation

@adityasharma7
Copy link
Copy Markdown
Member

No description provided.

Pattern is identified and reported at  sonacloud.io as Blocker

JavaScript variable scope can be particularly difficult to understand and get right. The situation gets even worse when you consider the accidental creation of global variables, which is what happens when you declare a variable inside a function or the for clause of a for-loop without using the let, const or var keywords.
Pattern is identified and reported at  sonacloud.io as Blocker

JavaScript variable scope can be particularly difficult to understand and get right. The situation gets even worse when you consider the accidental creation of global variables, which is what happens when you declare a variable inside a function or the for clause of a for-loop without using the let, const or var keywords.
Pattern is identified and reported at  sonacloud.io as Blocker

JavaScript variable scope can be particularly difficult to understand and get right. The situation gets even worse when you consider the accidental creation of global variables, which is what happens when you declare a variable inside a function or the for clause of a for-loop without using the let, const or var keywords.
@adityasharma7 adityasharma7 merged commit 900b759 into apache:roller-6.0.x Dec 19, 2019
@adityasharma7 adityasharma7 deleted the ROL-2157-6.0 branch December 19, 2019 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant