Typescript New Array Javascript Append Function In Prologix