tern
tern copied to clipboard
Tern not identifying js property references in the given case
trafficstars
Getting refs for the property x.test1 at the shown cursor position only returns to root definition and not all references as shown below:

code
// Object
let x = {
test1: 12,
test2: 45
};
// Property
x = x.test1;
x.test1 =34;