Presentation is loading. Please wait.

Presentation is loading. Please wait.

JavaScript OOP academy.zariba.com.

Similar presentations


Presentation on theme: "JavaScript OOP academy.zariba.com."— Presentation transcript:

1 JavaScript OOP academy.zariba.com

2 Lecture Content OOP in JavaScript (or the lack of it)
Simple Class in JavaScript String Prototype Example Inheritance in JavaScript

3 OOP in JavaScript (or the lack of it)
OOP means the application is constructed as a set of objects – each object has its own purpose JavaScript is a prototype-oriented language – uses prototypes(parents) to define hierarchies JavaScript uses functions to create objects There are many ways in which you can imitate OOP in JavaScript

4 Simple Class in JavaScript

5 String Prototype Example

6 Inheritance in JavaScript

7 Homework Optional – rewrite your RPG homework from the OOP course (if you dare).

8 References

9 Zariba Academy Questions


Download ppt "JavaScript OOP academy.zariba.com."

Similar presentations


Ads by Google