From fffc7f88ed3dc8e5ac92bcddefb20cc3bad8ceb7 Mon Sep 17 00:00:00 2001 From: Priyansh Date: Thu, 8 Jul 2021 21:26:21 +0530 Subject: impl: listDir and getListOfFiles --- tester.js | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'tester.js') 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) +} + -- cgit v1.2.3