Map Is Not A Function Understanding And Fixing Javascript Error

Map Is Not A Function Understanding And Fixing Javascript Error