diff options
| author | Priyansh <[email protected]> | 2021-07-08 21:26:21 +0530 |
|---|---|---|
| committer | Priyansh <[email protected]> | 2021-07-08 21:26:21 +0530 |
| commit | fffc7f88ed3dc8e5ac92bcddefb20cc3bad8ceb7 (patch) | |
| tree | 87082b7ab1ba8a22d4fbb5fd9dbd976131026608 /tester.js | |
| parent | 80a526a5957785700258a02bc24d21afe2c843e0 (diff) | |
| download | randomavatars-fffc7f88ed3dc8e5ac92bcddefb20cc3bad8ceb7.tar.xz randomavatars-fffc7f88ed3dc8e5ac92bcddefb20cc3bad8ceb7.zip | |
impl: listDir and getListOfFiles
Diffstat (limited to 'tester.js')
| -rw-r--r-- | tester.js | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -4,4 +4,21 @@ * There can be some code here which does not correspond to the the code at all. */ -console.log('This works'); +// var walk = require('walk'); +// var fs = require('fs'); +// var walker; +// const path = require('path'); + +// walker = walk.walk(__dirname + '/sets'); + +// walker.on("directory", function (root, fileStats, next) { +// console.log(path.join(root, fileStats.name)) +// next() +// }); + +const x = ['a', 'b', 'c', 'd', 'e', 'f'] + +for (const value of x) { + console.log(value) +} + |
