The following files exists in this folder. Click to view.
exercise.js1 lines ASCII Unix (LF) /**
* Question 1
**/
// var firstPerson = {};
/**
* Question 2
**/
document.writeln(firstAttributes().age);
document.writeln('<br>');
/**
* Question 3
**/
document.writeln(firstMethod());
document.writeln('<br>');
/**
* Question 4
**/
document.writeln(myPersons().male.firstName);
document.writeln('<br>');
/**
* Question 5
**/
document.writeln(personsGreet(female, male));
document.writeln('<br>');
/**
* Question 6
**/
document.writeln(isInstance());
document.writeln('<br>');
/**
* Question 7
**/
document.writeln(delAttribute().male.eyecolor);
document.writeln('<br>');
/**
* Question 8
**/
document.writeln(addProperty());
document.writeln('<br>');
/**
* Question 9
**/
document.writeln(usePrototype(female));
document.writeln('<br>');
/**
* Question 10
**/
document.writeln(useCall());
document.writeln('<br>');
/**
* Question 11
**/
document.writeln();
document.writeln('<br>');
/**
* Question 12
**/
document.writeln();
document.writeln('<br>');
/**
* Question 13
**/
document.writeln();
document.writeln('<br>');
/**
* Question 14
**/
document.writeln();
document.writeln('<br>');