what's this in chrome console " Uncaught SyntaxError: Unexpected token ':' "
here is json file in root of application:
<script src="levels.json"></script>
and this is my json file content :
{
"levels": [
[22, 22],
[33, 25]
]
}
and my javascript code :
let data = JSON.parse(levels)
console.log(data);