continue in javascript

     continue is used to terminate the current iteration of the loop. If will not terminate the control from the whole loop just terminate the control from the current iteration.

syntax

     continue [label];

Example

     for (i = 0; i < 3; i++)
     {
      if (1 == 2)
         continue;
       alert(i);
     }



Example Program:- (Editor)


Editor is Loading...

Advertisement



Tags:
continue in allinworld99, javascript in allinworld99,loop in allinworld99

Nhận xét

Bài đăng phổ biến từ blog này

How to set the SDK, NDK and JDK path to android studio?

Tourist places in kk district:1) Thiruvalluvar statue

if statement