Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
Code
Diff
  • const getMin = (l) => l.sort((a, b) => a && b ? a - b : b)[0] || 0
    
  • 1-const getMin = (l) => l.filter(i => i > 0).sort((a, b) => a - b)[0] || 0
    1+const getMin = (l) => l.sort((a, b) => a && b ? a - b : b)[0] || 0