Powershell Loop Through String Javascript Methods Syntax Meaning