=== on 1 Jun 2015, 08:59:46 Linda Martin wrote:
\[~ann.campbell.2] assigned for completion. Thanks!



=== on 1 Jun 2015, 17:49:08 Ann Campbell wrote:
\[~linda.martin] I've tried to expand the code sample to be more demonstrative. Please correct me if I did it wrong.

=== on 2 Jun 2015, 15:55:23 Linda Martin wrote:
\[~ann.campbell.2] Indeed it does not work, JavaScript is tricky:

----
MyObj.func1 = function() {
  if (this.foo == 1) {  // Noncompliant; addresses window.foo => actually it does not it addresses MyObj.foo variable.
    // ...
  }
}
----

Re-assigned to you: I'll let you update the code snippet in case you have precise ideas about what to put.

Thank you !

