prototypes_props.js

Constructors

Person.Child(age)

parameters

type name description
age

objects

type name description
age the Child's age

Objects

Person.name

the Person's name

Person.Child.age

the Child's age

Functions

Person()

Person.setName(name)

parameters

type name description
name

Person.getName()

get the Person's name