This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
// Add a new row for another student
|
||||
gradesTable.push(['David', 82, 79, 91]);
|
||||
|
||||
// TODO: optionale Übung: gradeTable in gradesObject über eigene Funktion parseToObj() umwandeln. Tipp:
|
||||
// TODO: optionale Übung: gradeTable in gradesObject über eigene Funktion parseToObj() umwandeln. Tipp: map. Beispiel 01_csv-to-obj.html aus Tag 12
|
||||
|
||||
const gradesTableObj = [
|
||||
{
|
||||
@@ -107,6 +107,7 @@
|
||||
|
||||
// Access to the second type of vegetable
|
||||
const secondVegetable = shoppingList[1][2]; // => 'Broccoli'
|
||||
console.log(shoppingList[1][3]); // => 'Spinach'
|
||||
|
||||
// ===============
|
||||
|
||||
|
||||
Reference in New Issue
Block a user