Skip to content Skip to sidebar Skip to footer
Showing posts with the label Oop

How Do I Create A Javascript Object With Defined Variables And Functions?

Let's say I want to create an Object called 'Vertex'. Usually, in Java I would do this … Read more How Do I Create A Javascript Object With Defined Variables And Functions?

Critique My Prototypal Inheritance Pattern

I've decided to use Object.create, as it seems much more intuitive than using 'new' and… Read more Critique My Prototypal Inheritance Pattern

Difference Between 'var A = B' And 'this.a = B'

I have been dealing and learning about Objects and OOP in JS in the past few days and I good a basi… Read more Difference Between 'var A = B' And 'this.a = B'

Mootools Extends The "function" Class With An "extend" Method Making Jquery Unusable

Mootools extends the 'Function' class and adds a new method called 'extend' in it. … Read more Mootools Extends The "function" Class With An "extend" Method Making Jquery Unusable

Issues With Google Maps Javascript Api, Marker And Polylines Not Showing Together On A React.js App

I am pretty sure the states and setState stuff are correct, so here is my code. What I did here was… Read more Issues With Google Maps Javascript Api, Marker And Polylines Not Showing Together On A React.js App

Javascript: Should I Be Hiding My Implementations?

As a C# programmer, I have a bit of a habit of making things private that can and should be private… Read more Javascript: Should I Be Hiding My Implementations?