1<!doctype html>234<meta charset= "UTF-8" >5<title>Document</title>6<script type= "Text/javascript" >7 /*8 each function has a prototype property, which is a reference to an object called the prototype object, which contains the methods and properties shared by the function instance, that is, when the function is used as a constructor call (called with the new operator), the newly created object is from the prototype Inherits properties and methods on the object. 9 */Ten functionEmployee (name,job,born) { One This. name=name; A This. job=job; - This. born=born; - } the varBill=NewEmployee ("Demon", "Hacker", 1992); -employee.prototype.salary=NULL; -Employee.prototype.age =NULL; -bill.salary=20000; +Bill.age = 13; -document.write (bill.salary+ "</br>"); + document.write (bill.age); A</script> at -<body> - -</body> -View Code Prototype properties in JavaScript