From 0079221776106e3ca91076938e80d37e38eacc29 Mon Sep 17 00:00:00 2001
From: Hong-Phuc Bui <hong-phuc.bui@htwsaar.de>
Date: Fri, 17 Oct 2025 07:01:14 +0200
Subject: [PATCH] 1. Vorlesung

---
 textbased-programms/arithmetic-op.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/textbased-programms/arithmetic-op.js b/textbased-programms/arithmetic-op.js
index 9c366e8..0078520 100644
--- a/textbased-programms/arithmetic-op.js
+++ b/textbased-programms/arithmetic-op.js
@@ -6,10 +6,10 @@
 import {terminal} from "./dfhi.js";
 
 
-window.main = function(...argv) {
-	let a = 12;
-	let b = 5;
-	let c = Math.floor(12/5); // 2
-	let d = (12/5) | 0;
+window.main = (...argv)=> {
+	const a = 12;
+	const b = 5;
+	const c = Math.floor(a/b); // 2
+	const d = (a/b) | 0;
 	terminal.print(c);
 };
\ No newline at end of file

--
Gitblit v1.10.0