Powershell Array Key Value Javascript Interview Programming