aboutsummaryrefslogtreecommitdiff
path: root/tester.js
diff options
context:
space:
mode:
authorPriyansh <[email protected]>2021-07-08 21:26:21 +0530
committerPriyansh <[email protected]>2021-07-08 21:26:21 +0530
commitfffc7f88ed3dc8e5ac92bcddefb20cc3bad8ceb7 (patch)
tree87082b7ab1ba8a22d4fbb5fd9dbd976131026608 /tester.js
parent80a526a5957785700258a02bc24d21afe2c843e0 (diff)
downloadrandomavatars-fffc7f88ed3dc8e5ac92bcddefb20cc3bad8ceb7.tar.xz
randomavatars-fffc7f88ed3dc8e5ac92bcddefb20cc3bad8ceb7.zip
impl: listDir and getListOfFiles
Diffstat (limited to 'tester.js')
-rw-r--r--tester.js19
1 files changed, 18 insertions, 1 deletions
diff --git a/tester.js b/tester.js
index 5fa394b..74d9144 100644
--- a/tester.js
+++ b/tester.js
@@ -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)
+}
+