We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
//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.getName( // hint here shows ?
The text was updated successfully, but these errors were encountered:
fixes #2 and #4 - function type hinting
d545327
Display the called properties name instead of "fn". don't display "?" if the function type could not be determined.
Merge pull request #9 from eztierney/iss-2-4
7af5378
Merge pull request #2 from dloverin/more-tern
97a977c
Use tern to sort ids by depth, remove scope info
eztierney
No branches or pull requests
//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.getName( // hint here shows ?
The text was updated successfully, but these errors were encountered: