You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
alexdima opened this issue
Aug 30, 2016
· 0 comments
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
functionPerson(name,age){this.name=name;this.age=age;}Person.prototype.greet=function(whom){console.log('Hello '+whom.name+', my name is '+this.name);// <---- BREAKPOINT HERE}Student.prototype=Object.create(Person.prototype);functionStudent(name,age,school){Person.call(this,name,age);this.school=school;}Student.prototype.getSchool=function(){returnthis.school;}vara=newPerson('John',20);varb=newStudent('Charlie',20,'UNI');a.greet(b);
Type this.name. . That is a string with the value 'John'. The suggested completions are: 0, 1, 2, 3 which are unexpected and lead to an invalid expression
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesverifiedVerification succeeded
Testing #10997
Type
this.name.
. That is a string with the value 'John'. The suggested completions are: 0, 1, 2, 3 which are unexpected and lead to an invalid expressionThe text was updated successfully, but these errors were encountered: