JavaScript code problem (722)

Problem with JavaScript code-parser - GOTO DECLARATION and FIND USAGES, example:

  1. var A1 = {};
  2. var A2 = {};
  3. A1.Events =
  4. {
  5.     Property:0,
  6.     Property1:1,
  7.     Property2:2
  8. }
  9. A2.Events =
  10. {
  11.     Property:3,
  12.     Property4:4,
  13.     Property5:5
  14. }
  15. var e = A1.Events.Property; //<-- If press with CTRL on "Property" - we will not jump to line 6 - dropdown will choise between line 6 and 13, but A1.Events.Property strong defined on line 6. "Find Usages" on this property also find TWO places - line 6 and 13. It's bug or freature ?

Please sign in to leave a comment.