What is a constructor in Javascript ?

What is a constructor in Javascript ?

If you have been working on or learning Object Oriented JavaScript, you must have come across the word “constructor” a number of times. A constructor is basically a function that is used to set the properties and methods of an Object. Generally you may use...
What are Polyfills in Javascript ?

What are Polyfills in Javascript ?

With HTML5 getting popular, a large number of developers have moved on to HTML5 based development. It has indeed helped developers to implement extra features as well as save a lot of time during development too. But one of the most common issues of web development,...
How to implement Cufon fonts ?

How to implement Cufon fonts ?

The web is getting creative and beautiful. You can find¬† a variety of new font’s being used across the web making the site look beautiful and creative. There are various font replacement techniques available online now. One of them is SIFR but it needs flash to...
Ternary operator in Javascript

Ternary operator in Javascript

Some of the most useful “utilities” in any programming languages are the conditional statements. Conditional statements help a lot in making the piece of code dynamic and intelligent. In fact it would not be an exaggeration to say that without conditional...
Javascript Naming Conventions

Javascript Naming Conventions

A very common query that a lot of developers starting off with Javascript have is about the naming conventions to be used. I’m happy that many of us take that extra step to ensure that we follow standards while we code. But hey, the fact is actually there is no...