MCPcopy Create free account
hub / github.com/codecombat/codecombat / activeAndPastArenas

Function activeAndPastArenas

app/core/utils.js:1515–1523  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1513}
1514
1515const activeAndPastArenas = () => (() => {
1516 const result = []
1517 for (const a of Array.from(arenas)) {
1518 if (a.start <= new Date()) {
1519 result.push(_.clone(a))
1520 }
1521 }
1522 return result
1523})()
1524
1525const teamSpells = { humans: ['hero-placeholder/plan'], ogres: ['hero-placeholder-1/plan'] }
1526

Callers 1

findArenaFunction · 0.90

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected