Search the Blog

Sunday, August 11, 2019

JavaScript Console methods and objects

The information displayed by a web console/debugging is made available through the multiple methods of the console Javascript object that can be consulted through console.dir(console). Besides the console.memory property, the methods displayed are generally the following-

1  - assert
2  - count
3  - clear
4  - debug
5  - dir
6  - dirxml
7  - error
8  - group
9  - groupEnd
10- groupCollapsed
11- info
12- log
13- markTimeline
14- profile
15- profileEnd
16- table
17- time
18- timeEnd
19- timeStamp
20- timeline
21- timelineEnd
22- trace
23- warn

No comments:

Post a Comment

Translate