fix: using constant instead of magic value

This commit is contained in:
2025-10-12 20:17:12 +01:00
parent 6c9f45ff19
commit af1b20c433

View File

@ -1,9 +1,11 @@
const PERSON = "youtube";
function anotherGreeting() { function anotherGreeting() {
console.log("another greeting!"); console.log("another greeting!");
} }
function init() { function init() {
console.log("hello youtube!"); console.log(`hello ${PERSON}!`);
console.log("another log!"); console.log("another log!");