JavaScript

91 articles 路 all categories

11 articles from 2011 show all

December 2011

Learning me a Haskell

A lesson about client-side templating

Javascript's lack of strftime

Fun javascript feature

November 2011

Parsing JavaScript with JavaScript

October 2011

Firefox's "funny" css3 image scaling quirk

Functional isn't always better

September 2011

So how many readers _actually_ read a blog post?

August 2011

I learned two things today 11.8.

May 2011

node-unshortener can unshort any url

April 2011

A cool JavaScript property you never noticed

A few years ago I was playing around with JavaScript trying to find the cleanest way to implement callbacks in functions. Primarily I wanted a readable way to make certain the last argument passed is a callback, withut having to rely on knowing how many arguments there are and so on. Instead I stumbled upon a pretty cool feature of how javascript handles function arguments.