0
![Stack Overflow](http://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png)
You have to use map method.
Also, $.getJSON is executing asynchronous, so you need to use a callback function.
getResponse(callback){
$.getJSON( "config/tsconfig.json", function () {
let json=json.responseJSON.map(function(item){
return [item[0],item[2]];
});
ca...