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
What steps will reproduce the problem?
Person = function(name,age)
{
this.name = name;
this.age = age;
}
Person.prototype.id = function(){ return this.name + " " + this.age;}
mike = new Person("mike",39);
print(mike.id());
What is the expected output? What do you see instead?
should be: "mike 39"
prints out: "undefined"
What version of the product are you using? On what operating system?
TinyJS on Win7
Please provide any additional information below.
Original issue reported on code.google.com by shalom.m...@gmail.com on 7 Nov 2014 at 12:16
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
shalom.m...@gmail.com
on 7 Nov 2014 at 12:16The text was updated successfully, but these errors were encountered: