Skip to content

Instantly share code, notes, and snippets.

rob gibson gibo

Block or report user

Report or block gibo

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Kata
Cons.fromArray = function(array) {
array = array.reverse();
let last = new Cons(array.shift(), null);
array.forEach(function(item) {
last = new Cons(item, last);
});
return last;
}
You can’t perform that action at this time.