create empty array with length of 10 js code example Example: empty array length javascript empty array check javascript