From 70329bd0bc59bbb16a7e9a9f71f5646b60a139b1 Mon Sep 17 00:00:00 2001 From: Philippe Torrel Date: Wed, 16 Sep 2026 14:16:46 +0200 Subject: [PATCH] --- .../unterricht/tag08/13_ar-splice.html | 75 +++++++++++++++++++ .../unterricht/tag08/14_ar-slice.html | 52 +++++++++++++ .../unterricht/tag08/15_ar-sort.html | 45 +++++++++++ 3 files changed, 172 insertions(+) create mode 100644 01_grundlagen/unterricht/tag08/13_ar-splice.html create mode 100644 01_grundlagen/unterricht/tag08/14_ar-slice.html create mode 100644 01_grundlagen/unterricht/tag08/15_ar-sort.html diff --git a/01_grundlagen/unterricht/tag08/13_ar-splice.html b/01_grundlagen/unterricht/tag08/13_ar-splice.html new file mode 100644 index 0000000..ea391a6 --- /dev/null +++ b/01_grundlagen/unterricht/tag08/13_ar-splice.html @@ -0,0 +1,75 @@ + + + + + + Array - ar.splice() + + + +
+
+

Array - ar.splice()

+

+ + ar.splice() + + - Die splice() Methode ändert den Inhalt eines Arrays durch das Entfernen vorhandener + Elemente und/oder Hinzufügen neuer Elemente. +

+
+
+ + + diff --git a/01_grundlagen/unterricht/tag08/14_ar-slice.html b/01_grundlagen/unterricht/tag08/14_ar-slice.html new file mode 100644 index 0000000..1071899 --- /dev/null +++ b/01_grundlagen/unterricht/tag08/14_ar-slice.html @@ -0,0 +1,52 @@ + + + + + + Array - ar.slice() + + + +
+
+

Array - ar.slice()

+

+ + ar.slice() + + - Die slice() Methode schreibt eine flache Kopie von einem Teil des Arrays in ein neues + Array-Objekt von begin bis end (end nicht enthalten). Das originale Array wird nicht + verändert. (side-effect-free) +

+
side-effect-free
+
+
+
+ + + diff --git a/01_grundlagen/unterricht/tag08/15_ar-sort.html b/01_grundlagen/unterricht/tag08/15_ar-sort.html new file mode 100644 index 0000000..c97e1c9 --- /dev/null +++ b/01_grundlagen/unterricht/tag08/15_ar-sort.html @@ -0,0 +1,45 @@ + + + + + + Array - ar.sort()) + + + +
+
+

Array - ar.sort()

+

+ + ar.sort() + + - Die sort() Methode sortiert die Elemente eines Arrays in-place und gibt das + Array zurück. Standardmäßig werden alle Elemente in Strings umgewandelt und dann anhand ihrer UTF-16 + Codepoints miteinander verglichen. +

+
+ Das angesprochene Array wird durch in-place-mutation ebenfalls sortiert. +
+
+
+
+ + +