SoFunction
Updated on 2025-04-03

JavaScript learning notes to get the implementation code of the current directory


function GetCurrentDirectory()
{
var curHref = ;
var curArray = ("/");
delete curArray[ - 1];
var curdir = ("/");
return curdir;
}