Timkor

tirAnswer

Oct 18th, 2020
523
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let n = 1
  2. let penek = '*'
  3.  
  4.     for(let v = 0; v < n; v++){
  5.         for(let g = v; g < n; g++){
  6.             console.put(' ')
  7.         }
  8.        
  9.         for(let g = 0; g < (v * 2) + 1; g++){
  10.             console.put('*')
  11.         }
  12.         console.log()
  13.         penek = ' ' + penek
  14.     }      
  15.         console.log(penek)
RAW Paste Data