I just started working on Javascript project. I know a couple of things
I have one js file called Employee and it has following methods:
- AddEmployee
- Search Employee
- Third Employee
In Java, you access all the methods using object like employeeObj.addEmployee(); I want to achieve same thing in JavaScript. Meaning, I want to access all the methods by creating an employee object?