in reply to help with "use strict" and code organization

my (lexical) variables are lexically scoped; they are only usable from where they were declared to the end of the innermost enclosing block. Usually this means up to the next } that ends a block.

Since you have declared the variables in question with my() (though you haven't shown that part) and it is still treating some of your attempts to use the variables as undeclared global, the scope your declaration probably doesn't extend to where you are using them.

  • Comment on Re: help with "use strict" and code organization