Error Typeerror Data Slice Is Not A Function Javascript

Error Typeerror Data Slice Is Not A Function Javascript