結果 : how to check if it's an array in javascript