I am creating a CSV file and need to exclude the metadata from the array located at the first position
How can I achieve an output similar to this:
"2","3","4" "6","7","8"
<!DOCTYPE html>
<html>
<body>
<button onclick="myFunction()">Click Me</button>
<p id="demo"></p>
<script>
function myFunction() {
var list = [
["meta1", "2", "3", "4"],
["meta2", "6", "7", "8"]
];
var csv = list.map(function(d) {
return '"' + d.join('","') + '"';
}).join('<br/>');
var x = document.getElementById("demo");
x.innerHTML = csv;
}
</script>
</body>
</html>