0

what kind of and How to use object methods in js?

29th Dec 2016, 6:47 AM
Vipul Aggarwal
Vipul Aggarwal - avatar
1 Answer
0
as you r saying they are objects methods , they can be used in the same manner as in other languages I.e objectName.methodName for eg. var student = { ' Name ' : ' Kunal' ' Address' : 'ndnnd' ' getMarks' = function { } }; u'll access this as student.getMarks ().
18th Mar 2017, 3:44 PM
Kunal Sindhwani
Kunal Sindhwani - avatar