function Person(name){ this.name = name; if(type...