Hello all,
Is there a possibility to attach a boolean to specific array?
Like for example:
var flag= true;
var myArray= new Array;  
for(i=0; i<myArray.length; i+=1)
{
   result = doFunction();
   if(result == true)
   {
      myArray*.flag = true;
   }else{
      myArray*.flag = false;
   }
}
I’ll need to display that particular item in the array if it returns “true” in the flag.
Help will be greatly appreciated. Thanks!