This commit is contained in:
Philippe Torrel
2026-06-17 10:03:52 +02:00
parent bc36251c36
commit f39de9f3b4
7 changed files with 177 additions and 0 deletions

View File

@@ -27,6 +27,7 @@
<main>
<div class="container py-5">
<h1>Kommentare in JS</h1>
<!-- Kommentar in HTML -->
<div class="box"></div>
</div>

View File

@@ -36,7 +36,9 @@
console.log(5 * 4); // => 20
console.log(5 / 4); // => 1.25
console.log(10 % 3); // => 1 , da 10 - 3 * 3 = 1.
console.log(5 ** 4); // => 625 , da 5 * 5 * 5 * 5 = 625.
console.log(Math.pow(5, 4)); // => 625 , da 5 * 5 * 5 * 5 = 625.
</script>
</body>
</html>

View File

@@ -52,6 +52,8 @@
</main>
<script>
'use strict';
console.log(typeof 4 + 4); // => 'number' + 4 -> 'number4'
</script>
</body>
</html>