Handle console.log(undefined) in Console:_generic() : this fixes :
 Uncaught TypeError: Cannot call method 'toString' of undefined at http://192.168.1.3:8080/target/target-script-min.js:1492