結果 : check for array type javascript