Code of the day: Javascript check if an object is empty

13 years ago

`isObjectEmpty()` is a function that will only return true if the passed an object that contains no keys. This is…

Code of the Day: Javascript Auto-complete date format MMDDYYYY

13 years ago

/** * This function helps to autocomplete the date format MMDDYYY * Converts M to 0M and MMD to MM0D.…

Re-implementation of Javascript’s Array.prototype.concat()

13 years ago

Just for fun I decided to see if I could write a faster version of `Array.prototype.concat()`. var concat = function…

Code of the Day: Chop up an array into groups using Underscore.js

13 years ago

Shrink an array into a group of smaller arrays using underscore.js // Make sure to include underscore.js _.mixin({ chunk :…

Tutorial – VIM in under 30 minutes

13 years ago

"Vim is a text editor written by Bram Moolenaar and first released publicly in 1991. Based on the vi editor…

Code of the day – FizzBuzz in Javascript

13 years ago

FizzBuzz Test Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz”…

Ratio.js – Fractions for javascript

13 years ago

Hey Everyone, I created a project called Ratio.js. Basically the goal of the project is to provide an simple object…

Javascript Slides over Build Automation

14 years ago

JavaScript + Jenkins = Winning! View more presentations from Eric Wendelin

How to convert a repeating decimal to a fraction

14 years ago

Here are 4 simple steps to convert a repeating decimal to a fraction. Step 1: Check to see if the…

doT.js Tutorial part 1

14 years ago

doT.js Tutorial: Part 1 of 2 What's dot.js? It's one of the fastest and concise javascript template engine for nodejs…