4 ms·
That might be clever, but aside from possible performance gains it's worse than the trivial alternative arr.map(it => it.trim()).
by CapacitorSet 9y ago
That might be clever, but aside from possible performance gains it's worse than the trivial alternative arr.map(it => it.trim()).