Как вариант...
function reversePrint (linkedList) {
if (linkedList.next) {
reversePrint(linkedList.next)
}
alert(linkedList.value)
}
var someList = {
value: 1,
next: {
value: 2,
next: {
value: 3,
next: {
value: 4,
next: null
}
}
}
};
reversePrint(someList);