Is there any better way of doing this?
if(borrar() !== false) { alert(\'tatatata bum bum bum prapra\'); } return false;
Checking if something isn't false... So it's true, just if you're doing something that is quantum physics.
if(!(borrar() === false))
or
if(borrar() === true)