Skip to content

Function signature hints showing ?  #2

@petetronic

Description

@petetronic

//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 ?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions