javascript - Promise.reject().catch(console.log) got an `Illegal invocation` on my Android 5.1 phone -


i've try on chrome before , works well, on android 5.1 phone got illegal invocation

in browsers, console.log doesn't being invoked in global context. can 1 of these:

promise.reject().then(function (error) {    console.log(error); }); 

or

promise.reject().then(console.log.bind(console)); 

Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

.net - Generate assembly with Roslyn -

batch file - filebot superstrict script: need tiny video sample or other solution -