Nhóm bảng điều khiểnEnd()
Ví dụ
Kết thúc nhóm tin nhắn bằng console.groupEnd():
console.log("Hello world!");
console.group();
console.log("Hello again,
this time inside a group!");
console.groupEnd();
console.log("and we
are back.");
Hãy tự mình thử »Sự miêu tả
groupEnd()
kết thúc một nhóm tin nhắn.
Cú pháp
console.groupEnd()
Hỗ trợ trình duyệt
console.groupEnd()
được hỗ trợ trong tất cả các trình duyệt hiện đại:
Chrome | Edge | Firefox | Safari | Opera | IE |
Yes | Yes | Yes | Yes | Yes | 11 |