How to declare array of specific type in javascript How to declare array of specific type in javascript arrays arrays