Powershell Concat Array Elements Javascript Interview