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