score:3

Accepted answer
// Create a copy of teams as a new array
const tmpNodes = [...teams];

Related Query

More Query from same tag