Typescript Get Type Of Array Javascript Length Text Php W3schools