Enums in JavaScript

Enumeral type is a very handy concept that assures your variable cannot be any other value except one that was defined. Read more

Similar

Another WTF JavaScript Moment

Javascript is a powerful language, but sometimes it doesn’t always do what you expect it to. Take the following expression for example. It’s a simple if statement that checks to see if true and then runs the code within the block. Running the code results... (more…)

Read more »