Question about Java script

 From:  fcwilt
12056.1 
Hi,

I noticed this is a file ScriptsFull.menu.htm:

for (var d in dirList)
{
var files = moi.filesystem.getFiles(dirList[d], '*.js' );
for ( var i = 0; i < files.length; ++i )
{
// some more stuff was here
}
}


The files are accessed using a for loop and an index variable.

Is this because the file list does not support the form as used for the directory list - for (var d in dirlist)?

Thanks.

Frederick