Wordpress uses different hooks to load scripts and stylesheets on the front and back ends. Here’s how to do it right.
Augmented Assignment Operators
Using the Augmented Assignment Operator to do a calculation on a variable and assign it back to itself, but more elegantly! More Productive Programming.
Factory Functions in JavaScript – making more than one object
It’s pretty easy to make an object in JavaScript once you know the syntax, but if you want to make more than one of the same type of object, it’s better to do it from some kind of blueprint. This post is all about factory functions!
Cloning Objects in JavaScript
In Javascript, assigning an object to another variable won’t create a copy of that object. Here are 3 methods that will successfully clone a JS object.