fix: using constant instead of magic value

This commit is contained in:
2025-10-12 20:17:12 +01:00
parent a96705ea0e
commit c50390db00

View File

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