Closed sunnydl closed 2 years ago
In the analysisMatchWinLoss function in matchService please also collect data such as kills, deaths, and assist and put them into separate lists For example
kills, deaths, and assist
const kill = [] const deaths = [] const assist = []
and then at the end of the function, put every list into an object and return the object
const data = { kills, deaths, assists, winlose, } return data
In the analysisMatchWinLoss function in matchService please also collect data such as
kills, deaths, and assist
and put them into separate lists For exampleand then at the end of the function, put every list into an object and return the object