var liczba = 1; while(liczba < 10){ //cos sie stanie jezeli to jest prawda }