From 24906ae3456fdac7eb97f7147e1dec601b2ebf8c Mon Sep 17 00:00:00 2001 From: buzzcode2007 <73412182+buzz-lightsnack-2007@users.noreply.github.com> Date: Thu, 6 Mar 2025 10:12:07 +0000 Subject: [PATCH] Add task 1 --- myApp.js | 42 ++++++++---------------------------------- 1 file changed, 8 insertions(+), 34 deletions(-) diff --git a/myApp.js b/myApp.js index ac2ac9b..3574f8b 100644 --- a/myApp.js +++ b/myApp.js @@ -1,39 +1,13 @@ let express = require('express'); let app = express(); +class TestApp1 { + constructor() { + let MESSAGE = "Hello World"; + console.log(MESSAGE); + } +} +new TestApp1(); - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - module.exports = app; +module.exports = app;