I am new to js & this is a js code snippet which I am trying to understand
_myFunc: function (object, object2) {
console.log(object);
$('.divevent').keydown(function (event, object, object2) {
console.log(object);
if (event.shiftKey && event.keyCode == 9) {
The first console.log. gives us right data but the second console.log prints out undefined.