0
what kind of and How to use object methods in js?
1 Respuesta
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 ().