답변 3개 / 댓글 3개
채택된 답변
+20 포인트
Copy
<script src="https://code.jquery.com/jquery-1.8.3.min.js"></script>
<script>
var list = [];
list[10] = {};
$.each(list, function (name, value) {
if(name == 10) {
console.log(name);
}
});
</script>
답변을 작성하려면 로그인이 필요합니다.