**** Lỗi:
div.querySelectorAll("*,:x")
**** Fix JS:
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script>
$('div *').addClass('example');
</script>
**** Bỏ stick bên tay phải:
Trong DevTools (F12) → cột phải:
-
❌ Bỏ tick Pause on caught exceptions
-
(giữ nguyên Pause on uncaught cũng được)

Không có nhận xét nào:
Đăng nhận xét