forked from adobe/brackets
-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reload sometimes required to get .prototype proposals #3
Comments
ghost
assigned eztierney
Apr 5, 2013
eztierney
added a commit
that referenced
this issue
Apr 8, 2013
This was fixed in tern, which I just updated to. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
//Define a functional object to hold persons in javascript
var Person = function (name) {
this.name = name;
};
//Add dynamically to the already defined object a new getter
Person.prototype.getName = function () {
return this.name;
};
//Create a new object of type Person
var john = new Person("John");
john. // Hint here only shows name, not getName() function. On reloading, it shows up.
The text was updated successfully, but these errors were encountered: