it("pop from the list and chaining", () => {
        const list = new SinglyLinkedList<number>([1, 2, 3, 4]);

        list.pop();