class Employee {
eName: string|undefined; // public
private eID: number;
}
let emp = new Employee();
emp.eName = "R2D2";
// emp.eID = 3937; // Property 'eID' is private and only accessible within class 'Employee'.(2341)
console.log(emp.eName);
/*
run:
"R2D2"
*/