What is the best practice way to use an internal data file with javascript?

Viewed 13

I have a data.json file in my folder which my javascript files are there; I wanna use this data.json in my js files; What is the best practice to import this file?

0 Answers
Related