No products in the cart.
< 1 min read
Manageability
High
Lightning
SF-0057
Omitting the var keyword from a variable definition within a method creates the variable in the global scope, which clutter up the global namespace and make the code slower.
var
45 min
Always use the var keyword to declare local variables.
See the PMD documentation article: GlobalVariable.
There was a problem reporting this post.
Please confirm you want to block this member.
You will no longer be able to:
Please allow a few minutes for this process to complete.