From af1b20c433c71486e683c7e9ec7640852b86ada8 Mon Sep 17 00:00:00 2001 From: John Costa Date: Sun, 12 Oct 2025 20:17:12 +0100 Subject: [PATCH] fix: using constant instead of magic value --- index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 2453baf..f9455a3 100644 --- a/index.ts +++ b/index.ts @@ -1,9 +1,11 @@ +const PERSON = "youtube"; + function anotherGreeting() { console.log("another greeting!"); } function init() { - console.log("hello youtube!"); + console.log(`hello ${PERSON}!`); console.log("another log!");