Advertisement
Meruem

Alberi_Binari_visitaAnticipata

Apr 25th, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.vistaAnticipata=
  2.     function foo()
  3.     {
  4.         var vs=0;
  5.         if(this.sinistro!=null)
  6.         {
  7.             vs=this.sinistro.visitaAnticipata();
  8.         }else
  9.             {
  10.                 vs="";
  11.             }
  12.                 var vd=0;
  13.                     if(this.destro!=null)
  14.                     {
  15.                         vd=this.destro.visitaAnticipata();
  16.                     }else
  17.                         {
  18.                             vd="";
  19.                         } return this.valore+""+vs+vd;
  20.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement