23/30 trouble!


#1


I have no idea what the problem is? Any ideas? Thanks


#2

var john = new Person("a","b",123);

#3

Here is my code:
function Person(first,last,age) {
this.firstname = first;
this.lastname = last;
this.age = age;
var bankBalance = 7500;
}

// create your Person
var john = new Person("Isaac", "Wang", 8098431)

// try to print his bankBalance
console.log(john.bankBalance);
Hope it works!:grin: