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
Popular Articles
Subscribe

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.
