Note that there are some explanatory texts on larger screens.

plurals
  1. POValue undefined (result of expression console.time) is not object
    text
    copied!<p>I create next code and catch error in some phone browser:</p> <pre><code>Mozilla/5.0 (SymbianOS/9.4; Series60/5.0 NokiaN97-1/22.0.110; Profile/MIDP-2.1 Configuration/CLDC-1.1) AppleWebKit/525 (KHTML, like Gecko) BrowserNG/7.1.4 Mozilla/5.0 (SymbianOS/9.4; Series60/5.0 Nokia5800d-1/52.0.007; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.6.9 3gpp-gba Mozilla/5.0 (SymbianOS/9.4; Series60/5.0 Nokia5228/40.1.003; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.7.4 3gpp-gba Mozilla/5.0 (SymbianOS/9.3; Series60/3.2 NokiaC5-00/031.022; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.3.1 Mozilla/5.0 (SymbianOS/9.4; Series60/5.0 Nokia5230/40.0.003; Profile/MIDP-2.1 Configuration/CLDC-1.1 ) AppleWebKit/525 (KHTML, like Gecko) Version/3.0 BrowserNG/7.2.7.4 3gpp-gba </code></pre> <p>Code:</p> <pre><code>try { var blank_function = function () {}; if (window) window.ll = 9423; if (!window.console) { window.console = {time: blank_function, timeEnd: blank_function, log: blank_function, dir: blank_function}; if (window) window.ll = 9425; } if (!console.time) { console.time = blank_function; if (window) window.ll = 9428; } if (!console.timeEnd) { console.timeEnd = blank_function; if (window) window.ll = 9431; } if (!console.log) { console.log = blank_function; if (window) window.ll = 9434; } if (!console.dir) { console.dir = blank_function; if (window) window.ll = 9437; } console.time("other"); if (window) window.ll = 9441; } catch(e) {if (window.send_exception &amp;&amp; typeof window.send_exception == typeof function(){}) {window.send_exception(e);}} </code></pre> <p>What is problem with it? I don't use return value => it's may be undefined. In other browsers works without errors.</p> <p>Exception data:</p> <pre><code>Array ( [name] =&gt; TypeError [message] =&gt; Value undefined (result of expression console.time) is not object. [line] =&gt; 9442 [toString] =&gt; TypeError: Value undefined (result of expression console.time) is not object. ) </code></pre> <p>PS Sorry for bad English.</p> <p>PPS window.ll = line number - 1.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload