Im really new to JS and i need help

hi! im really new to Javascript, i want to ask what is the code for me to change the path file but for android storage directory?

private var path:File;
      
      public function Config(name:String)
      {
         super();
         var userDirectory:File = new File("C:/Users/pc/Documents/Downloads");
         var game:File = userDirectory.resolvePath("Folder");

That language isn’t Javascript. I presume it’s actually Kotlin, which is a completely different language.

That being said, try going to the Android website and see if there’s something similar to what you’re trying to do.

thanks for the answer!