Run a business? Check out LessAccounting, our bookkeeping system that'll save you hours per week.

Announcing:

We built the entrepreneur's bookkeeping system, it's called LessAccounting. You'll probably love it.

Steve's Array Cheatsheet for JavaScript & Ruby

written by Steven on June 21, 2007

JavaScript

array_.push(_thing to push)

Ruby

array << thing to push

Notes

  • Although Array#push works in ruby, array#<< does not work in javascript.

(I just spent 45 minutes debugging this ;)

Business Owners: save hours per week with LessAccounting. It's like Quickbooks, just not total shit.

Leave a Comment

About Steven
Steven Bristol has written code for the past 20 years. He like green vegetables and kittens, oh and butterflies too. He loves to throw ninja stars at his enemies.

You Should...

Follow Steven on Twitter
Friend Steven on Facebook
Subscribe
LessEverything Copyright 2011 LessEverything.com
We don't like footers, they're kinda boring