I use app script and try to get value from return array by API, this is return array :
this is the full JSON:
{data=[{first=[[10, 1], [14, 0], [13, 5]}]}
I use this code to get value but not woeking:
var request = UrlFetchApp.fetch(url);
var json = JSON.parse(request);
// this is the code to get value
const value= json.data.first.map(obj => [obj[0]]);
The error is : TypeError: Cannot read property 'map' of undefined


{data=[{first=[[10, 1], [14, 0], [13, 5]]}]}(yours is lacking a single closing square bracket), then usedata[0]before accessingfirst. See my answer below.