📜  typescript while - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:15.927000             🧑  作者: Mango

代码示例1
var n: number = 5;
while (n > 5) { 
       console.log("Entered while : " + n);
      n++;
} 
do { 
       console.log("Entered do…while : " + n);
      n++;
} 
while (n > 5)