JavaScript 101 – Lesson 05 – Creating Our Own Objects

JS101

The purpose of using objects is to logically organize complex data in our program. In general, Object Oriented Programming allows us to work with complex data in a simple and elegant way.

JavaScript data types begin with an uppercase letter. These are also called built in data types. When we see any function begins with an uppercase letter – we can understand that this is a data type. This type of casing is called ‘Pascal Casing’ – it’s all like camel casing except first letter of first word also begins with a capital letter. Like –
Continue reading