JavaScript is an Object Oriented Programming (OOP) language. An OOP language allows you to define your own objects and make your own variable types. An object is just a special kind of data. An object has properties and methods.
Objects work so well because they act just like real life objects- objects have properties and methods. So if we were talking about a lamp, a property of it may be its height or width, say 12cm. A method of it may be to shine (an action). And when it's shining, its brightness property would be of a greater value than when it wasn't.
JavaScript gives you the ability to make your own objects for your own applications. With your objects you can code in events that fire when you want them to, and the code is encapsulated. It can be initialized any amount of times.
- Objects by thenewboston
JavaScript is an Object Oriented Programming (OOP) language. An OOP language allows you to define your own Objects and make your own
Javascript - Objects
[Suggest , Read ]
Javascript is an Object Oriented Programming (OOP) language. An OOP language allows you to define your own Objects and make
JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming