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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to