Powershell Array Key Value Javascript Map Methods In C