Codehs 8.1.5 Manipulating 2d Arrays
You must create a method to update values and then call it three times to meet these specific requirements:
💡 It is very common to swap the row and column variables. Always use the format array[row][column] . Codehs 8.1.5 Manipulating 2d Arrays
Summary checklist
let matrix = [ [1, 2, 3], [4, 5, 6], [7, 8, 9] ]; You must create a method to update values