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
{{ message }}
Repository navigation
"constructor" property of function prototype objects does not show up in autocomplete suggestions #15199
Activity
TimothyGu commentedon Sep 5, 2017
The constructor property you are seeing is an own property of
f.prototypethat points tofitself.targos commentedon Sep 5, 2017
This is a more general issue. Take this example:
Completion for
y.<tab><tab>:I would also expect
y.ato be next toy.cbecause the own property shadows the property on the prototype.targos commentedon Sep 5, 2017
@pretodor Not at all. I think it's a valid issue.
repl: make own properties shadow prototype properties
repl: make own properties shadow prototype properties
repl: make own properties shadow prototype properties