EN
本內容沒有您的語言版本,但有英文版本。

group method

Begins a collapsible group of console output. Initially displays expanded.

Groups can be nested.

Use groupEnd to stop adding output to the group.

IE11

 

Syntax

console.group(groupTitle);

Parameters

groupTitle [in, optional]

Type: DOMString

Return value

This method does not return a value.

See also

console
Using the F12 Tools Console to View Errors and Status

 

 

顯示:
© 2014 Microsoft