Answers for "javascript how to print working directory"

0

javascript how to print working directory

var loc = window.location.pathname;
var dir = loc.substring(0, loc.lastIndexOf('/'));
Posted by: Guest on March-09-2021

Code answers related to "javascript how to print working directory"

Code answers related to "Javascript"

Browse Popular Code Answers by Language