I highly recommend Edison's post on Big-O complexity in JavaScript. It's the friendliest article I've...