結果 : how to check if object is an array in javascript