// Create and initialize the 2D array
const charArray2D = [
['N', 'o', 'd', 'e', '.', 'j', 's'],
['J', 'a', 'v', 'a', 'S', 'c', 'r', 'i', 'p', 't'],
['r', 'u', 'n', 't', 'i', 'm', 'e']
];
// row 0 (first row)
const rowIndex = 0;
const selectedRow = charArray2D[rowIndex];
// Convert the row to a string
const s = selectedRow.join('');
console.log(s);
/*
run:
Node.js
*/