I\'m new to JavaScript and a little bit confused with the duck typing concept. As far as I can tell, I understood the concept. But that leads to a strange consequence in my thou
Use try catch
$('#canvas').live('vmousedown', function(e) { try { console.log(e.originalEvent.originalEvent.touches[0].webkitForce); } catch(e) { console.error('error ...'); } }