Powershell Push Element In Array Javascript Mdn For Loop