Untitled
console.log(nestedArray[2][1][0][0][0]); This logs the string deepest-est?. And now that we know where that piece of data is, we can reset it if we need to: nestedArray[2][1][0][0][0] = 'deeper still'; console.log(nestedArray[2][1][0][0][0]); Now it logs deeper still.
Leave a Comment