I'm working on samsung SDK and modifying a javascript app for smart tv. I stumbled upon this piece of code and I don't understand what if($('.menuButton').push()){...
does. The native push function was not overwrited but this still works. I thought push will append an element to an array, but this doesn't seem to be the case
if(direction==tvKey.KEY_ENTER){
if($('.menuButton').push()){
$('.simple_menu').slideDown('easy');
........