Object Oriented Javascript Tutorial Hello, All as the title suggest we are going to understand what is object-oriented in JS . for those we don't have knowledge about Object Oriented Programming language, let's understand the terminology out OOP Language. OOP language is totally based on objects where the objects contain data, methods, and its attributes. let's take a realtime example as follows: I have fruits which are as follows as Banana, Orange, Lemon, Apple, Mango etc, so if I want to find a number of fruits I have then I can use length function to find out. The same way in Javascript fruits array is an object which has some properties and methods like length is a property of array and sort is the method of an object. Nowadays, the Object-oriented Programming language is the more popular style for the programming language, and Javascript has taken the OOP concept from the scratch only. If we go d...
Comments
Post a Comment