Is javascript suport all four pillars of oop? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Is javascript suport all four pillars of oop?

if yes then how can we do encapsulation and abstraction, kindly share your thoughts with coding examples.

25th Jul 2021, 2:48 PM
Jalal Uddin
Jalal Uddin - avatar
1 Antwort
0
Perhaps in JavaScript, as in Python, encapsulation is achieved by the consent of the developers. For example, put 2 before the name of the methods _.
25th Jul 2021, 5:06 PM
Роман
Роман - avatar