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);
I would expect whom. to suggest greet() and getSchool() besides age, name and school.
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
I would expect
whom.
to suggestgreet()
andgetSchool()
besidesage
,name
andschool
.The text was updated successfully, but these errors were encountered: