I got this one :
const info = [["Month", " \"Average\"", " \"2005\"", " \"2006\"", " \"2007\"", " \"2008\"", " \"2009\"", " \"2010\"", " \"2011\"", " \"2012\"", " \"2013\"", " \"2014\"", " \"2015\""]
["May", " 0.1", " 0", " 0", " 1", " 1", " 0", " 0", " 0", " 2", " 0", " 0", " 0 "]
["Jun", " 0.5", " 2", " 1", " 1", " 0", " 0", " 1", " 1", " 2", " 2", " 0", " 1"]
["Jul", " 0.7", " 5", " 1", " 1", " 2", " 0", " 1", " 3", " 0", " 2", " 2", " 1"]
["Aug", " 2.3", " 6", " 3", " 2", " 4", " 4", " 4", " 7", " 8", " 2", " 2", " 3"]
["Sep", " 3.5", " 6", " 4", " 7", " 4", " 2", " 8", " 5", " 2", " 5", " 2", " 5"]
["Oct", " 2.0", " 8", " 0", " 1", " 3", " 2", " 5", " 1", " 5", " 2", " 3", " 0"]
and I would like to get the first one of those like :
["May","Jun","Jul","Aug"...]
like this without the first one
so I tried to use slice. so the results was like this:
I tried console.log(info.slice(1, 10)[0]);
this and the result is like :
["May", " 0.1", " 0", " 0", " 1", " 1", " 0", " 0", " 0", " 2", " 0", " 0", " 0 "]
so How can I get the first one of many of arrays?? like this:
["May","Jun","Jul","Aug"...]