as you can see in step 2, i create airthmaticOpration function which in this step i will treated function like a class.
airthmaticOperation.prototype.addition = function(a,b)
airthmaticOperation.prototype.multiply = function(a,b)
That looking cool Now how to use it in my function.
first you have to make object as you make in simple class like
var objMyClass = new aithmaticOperation();
Object is created and Now you are ready to access method of my class airthmaticOperation
var resultAdd = objMyClass.addition(a,b);
var resultMul = objMyClass.multiply(a,b);
Rohit started Embedded Programing in his college days and now he is a Software Developer by Profession. Mainly he interested in cutting edge technology offer by Microsoft (i.e Azure,MVC). He Loves coding and his passion is always been towards Microsoft Technologies. Apart from coding his other hobbies include reading books and hang out with friends is his most favorite past time hobby.
1. 20 Apr 2014: Best Mobile Article of March 2014 - First Prize