Rune Grønkjærs Blog
Abonnér på mit feed

Category Archives: Extension

Javascript Date extension

The javaScript Date object is probably the hardest object to use, as it seems very complicated to the uninitiated. Very often I have needed to abstract from the complexity of the javascript Date object. I have written some extension methods to the Date object that can be very handy in many diferent situations.
Also posted in Date, Javascript, regexp |

Javascript String extension

This time the subject will be extension of strings in javascript. Real programming languages usually contains quite a lot of methods you can call on it’s strings. In javascript you have to do much of the work yourself. I have over time collected or written some extensions to the string object that can make life a lot easier. For a complete reference of all the string object’s methods, follow this link to w3schools
Also posted in Javascript, regexp, String |

Javascript Array extension

Hereby my first blogpost ever. This post will introduce some handy extensions to the javascript array object. The background for this post is the javascript array objects lack of some very basic functionality.
Also posted in Array, Javascript |
Dansk version