hqm42
Re:Always return on events is faster, but why?
on Friday October 18, 2013 @07:09AM (#6570737)
Revision 22 revealed that something went terribly wrong...
Re:JavaScript developer, can you reverse a linked list?
on Thursday February 21, 2013 @12:07PM (#5258549)
LinkedList.prototype.reverse = function () {
var rev = function(e,tail) {
if (!e) {
return tail;
} else {
var next = e.next;
e.next = tail;
return rev(next, e);
}
};
this.head = rev(this.head, null);
};