結果 : how to check if a variable is of type array in javascript