Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var Employee = function () {
- 'use strict';
- var Name, Salary, DateOfBirth;
- };
- Employee.prototype.Add = function (name, salary) {
- 'use strict';
- this.Name = name;
- this.Salary = salary;
- };
- Employee.prototype.GetSalary = function () {
- 'use strict';
- return this.Salary;
- };
- Employee.prototype.GetName = function () {
- 'use strict';
- return this.Name;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement