Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript while

var n: number = 5;
while (n > 5) { 
   	console.log("Entered while : " + n);
  	n++;
} 
do { 
   	console.log("Entered do…while : " + n);
  	n++;
} 
while (n > 5)
 
PREVIOUS NEXT
Tagged: #typescript
ADD COMMENT
Topic
Name
3+1 =