vscode
vscode copied to clipboard
Optimized concat with reduce
The concat method creates a new collection each time based on the existing one. Using push in this case saves resources.