Typescript New Empty Array Javascript Example