Js Loop External Variable Declaration In Pseudocode