Posts by Ronald S. Cruz • 36 points
1 post
-
2
votes1
answer42
viewsA: Load a json list in JS
Just run a fetch fetch("dados.json") // especifique o caminho .then(response => response.json()) .then(json => console.table(json)) @EDIT now that I have seen the syntax error. Anyway, it is…