Typescript Initialize Empty Array In Javascript Meaning