Instructure Interview Question

How to reverse a linked list (JavaScript)