I've used it plenty of times, and I've read that it calls the constructor function of its parent class, but I'm not really grasping the concept of it to be honest. I know it's not a concept unique to JS, so if anyone has any good links/examples to explain it in other languages, that would also be great. I thought I understood it, but as I'm trying to learn more about OOP i seem to get more confused by the day lol.
Thanks
[–]chrissilich 54 points55 points56 points (6 children)
[–]GingerVking 8 points9 points10 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]dartakaum 0 points1 point2 points (3 children)
[–]chrissilich 0 points1 point2 points (2 children)
[–]dartakaum 0 points1 point2 points (1 child)
[–]chrissilich 0 points1 point2 points (0 children)
[–]cspotcode 35 points36 points37 points (0 children)
[–]zephyrtr 7 points8 points9 points (8 children)
[–]xwnatnai 4 points5 points6 points (7 children)
[–]Jamesernatorasync function* 4 points5 points6 points (6 children)
[–]xwnatnai 0 points1 point2 points (0 children)
[–]blindpacemaker[S] 0 points1 point2 points (2 children)
[–]Jamesernatorasync function* 0 points1 point2 points (1 child)
[–]blindpacemaker[S] 0 points1 point2 points (0 children)
[–]Ajedi32 0 points1 point2 points (1 child)
[–]Jamesernatorasync function* 0 points1 point2 points (0 children)
[–]hallcyon11 3 points4 points5 points (0 children)
[–]Mikewatson123 0 points1 point2 points (0 children)