dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: How to change for loop to while loop?

  1. #1
    Join Date
    Feb 2014
    Posts
    6

    How to change for loop to while loop?

    var arr3=new Array();
    var arr4=new Array();

    for(i=0;i<arr3.length;i++){
    if(arr3[i]!=undefined && indexarr[i]!=undefined){
    arr4.push(arr3[i]);
    indexarr1.push(indexarr[i]); } }

  2. #2
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,671
    what for?

  3. #3
    Join Date
    Feb 2014
    Posts
    6
    how to change my forloop code to whileloop..?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles