Skip to content

Commit 2372aae

Browse files
committed
updated OOP
1 parent a67241a commit 2372aae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JavaScript Outlines/ObjOriProg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
• Before object oriented programming there was something called "procedural programming" where data was stored in a
3939
bunch of variables and function that operate on the data, which was very simple and straight forward.
4040
• but eventually these function will break and function will have duplicate lines of codes (i.e. spaghetti code).
41-
Which object-oriented programming (OOP), you combine a group of related variables and function into a unit.
41+
With object-oriented programming (OOP), you combine a group of related variables and functions into a unit.
4242
• That unit is called an "Object".
4343
• variables are called "properties".
4444
• function are called "methods".

0 commit comments

Comments
 (0)