summaryrefslogtreecommitdiffstats
path: root/kjsembed/tests/test_qdir.js
blob: 8b214fb90a99f52419b16d5cbd27c24d1d668cbc (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env kjscmd

var dir = new TQDir(); // CWD
println( dir.path() );

var files = dir.entryList( '*.js' );
for ( i in files ) {
   println( files[i] );
}