Skip to content

Salsa does not highlight object properties across methods #2438

Description

@alexdima

Testing #2218

When I hover over this.age in the console.log I get to see it is a property of type number, but the assignment in line 2 is not highlighted:

function Person() {
    this.age = 13;
}
Person.prototype.sayHi = function() {
    console.log('Hi, I\'m ' + this.age);
    console.log('Hi, I\'m ' + this.age);
}

var p1 = new Person();

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions