We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f80b0c4 commit 7b93c84Copy full SHA for 7b93c84
path.mjs
@@ -0,0 +1,7 @@
1
+import path from "path";
2
+
3
+const file = "/Users/khannedy/contoh.txt";
4
5
+console.info(path.dirname(file));
6
+console.info(path.basename(file));
7
+console.info(path.extname(file));
0 commit comments