79123179

Date: 2024-10-24 18:09:54
Score: 1
Natty:
Report link
[1, 2, 3].flatMap((i, , arr) => arr.flatMap((j) => i !== j ? [`${i} ${j}`] : null)).filter(Boolean)
// ['1 2', '1 3', '2 1', '2 3', '3 1', '3 2']
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user1356144