Tag Archives: object

Creating Objects in JavaScript

Oh, hello. It has been awhile, hasn’t it? Well, I’ve been bouncing around between projects–I tend to do that a lot–and have had long stretches of time where I don’t work on anything–I also do that a lot.

Most recently, my current project has required me to dive into JavaScript; a language I have largely avoided in all my years. But, once you get over the camel case, it’s not so bad. It’s even possible to create objects, in a roundabout, completely non-obvious way. Once I knew what to look for (composite data types), I realized the solution was out there a bit, but since I refer back to my own blog quite a bit when I forget something–and with so long between coding sessions, it’s no wonder–it’s probably a good idea to repeat it here.
Read more »