Download presentation
Presentation is loading. Please wait.
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
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.