Hacker News new | ask | show | jobs
LoStorage.js - Client-side storage the way it should be (github.com)
1 points by js-coder 4892 days ago
1 comments

Good example and if your using the ! in front of the function to save a byte you could change the for loops like so:

for (var i = 0, l = keys.length; i < l; i++) {

to

for (var i = keys.length; i--;) {

(to save even more)