“getEnumerator is not a function” Javascript (Sharepoint Online)
问题 Does anyone know why I get "Uncaught TypeError: list.getEnumerator is not a function" in my OnSuccess() function? This code worked fine before, when I tried to get the Titles of all lists in my site collection. Now I want to get the titles of all rows assigned to John Doe, in my list called testIssues . What have I missed? 'use strict'; var clientContext = new SP.ClientContext.get_current(); var hostweburl = decodeURIComponent(getQueryStringParameter("SPHostUrl")); var parentContext = new SP