Ask coding questions

← Back to all posts
How Do I grab a file in a different path (javascript)?

I'm using different folders to sort my program but the problem is that I have a search system in one folder (Usersearch) that needs to acces a .json file in a totally different folder in the project (Storage). How would I write the path?

EDIT: I solved the problem by adding "../" before the path