function ListNodeToArrayimport { ListNodeToArray } from "https://deno.land/x/masx200_leetcode_test@v0.8.1/reverse-linked-list/ListNodeToArray.ts"; ListNodeToArray(list: ListNode | null): Array<number>Parameterslist: ListNode | nullReturnsArray<number>