What's the difference between
$('.classname').on('click tap', function(){});
and in the second case there is an OR ('||') sign between events
$('.classname').on('click || tap', function(){});
Both seem to work fine, but I would really like to know if adding the OR sign in the second case matters.
Nitin source share