equal
deleted
inserted
replaced
110 -------------------------------------- |
110 -------------------------------------- |
111 |
111 |
112 Instead of "Error Console" (press Ctrl+Shift+J) use "Web Console" (press |
112 Instead of "Error Console" (press Ctrl+Shift+J) use "Web Console" (press |
113 Ctrl+Shift+K) in Firefox >=4.0:: |
113 Ctrl+Shift+K) in Firefox >=4.0:: |
114 |
114 |
115 'console.log()', 'console.info()', 'console.warn()', 'console.error()'. |
115 console.log("str"); |
|
116 console.info("str is %s", "str"); |
|
117 console.warn("this is %o", this); |
|
118 console.error("int: %i, float: %f, string: %s, object: %o", 2, .333, "str", this); |
|
119 |
|
120 To see stack-trace use:: |
|
121 |
|
122 console.log(new Error().stack); |
116 |
123 |
117 See: |
124 See: |
118 |
125 |
119 * https://developer.mozilla.org/en/Using_the_Web_Console |
126 * https://developer.mozilla.org/en/Using_the_Web_Console |
120 * https://developer.mozilla.org/en-US/docs/Tools/Web_Console |
127 * https://developer.mozilla.org/en-US/docs/Tools/Web_Console |