You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@roller.apache.org by GitBox <gi...@apache.org> on 2019/11/03 13:24:28 UTC

[GitHub] [roller] adityasharma7 opened a new pull request #46: Fixed: Variables should be declared explicitly in Custom JS code (ROL-2157)

adityasharma7 opened a new pull request #46: Fixed: Variables should be declared explicitly in Custom JS code (ROL-2157)
URL: https://github.com/apache/roller/pull/46
 
 
   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.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services