Objects Overview. There are properties and methods. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Objects Overview. There are properties and methods.

Objects JavaScript is an Object Oriented Programming (OOP) language allowing the programmer to define custom objects and make custom variable types. An object has properties and methods. Properties Properties are the values associated with an object. The syntax for accessing a property of an object is: objName.propertyName Methods Methods are the actions that can be performed on objects. The syntax for calling a method of an object is: objName.methodName()

19th Jul 2017, 11:59 AM
Ankit
Ankit - avatar
2 Answers
0
Yeah! You got it.
8th Sep 2017, 12:28 PM
Gerald Akorli
Gerald Akorli - avatar
0
right
14th Mar 2018, 11:07 PM
Md. Al-Mustanjid
Md. Al-Mustanjid - avatar