let rec1 = new Rectangle(500, 250); let rec2 = new Rectangle(300);
//constructing using radius let circ1 = new Circle(10); //constructing using diameter let circ2 = new Circle(20);
let rec = Rectangle.fromWidthHeight(500, 2500); let square = Rectangle.fromSide(700);
let date1 = Date.fromMMDDYY('6/1/99'); let date2 = Date.fromMMDDYY('6/1/1999'); let date3 = Date.fromYYYYMMDD('1999-6-1');
let name1 = FullName.fromFirstLast('Asha', 'Gupta') let name2 = FullName.fromFirstMiddleLast('Asha', 'Kanvar', 'Gupta')