Add task 1
This commit is contained in:
		
							parent
							
								
									0f891a477f
								
							
						
					
					
						commit
						24906ae345
					
				
					 1 changed files with 8 additions and 34 deletions
				
			
		
							
								
								
									
										42
									
								
								myApp.js
									
										
									
									
									
								
							
							
						
						
									
										42
									
								
								myApp.js
									
										
									
									
									
								
							|  | @ -1,39 +1,13 @@ | ||||||
| let express = require('express'); | let express = require('express'); | ||||||
| let app = express(); | let app = express(); | ||||||
| 
 | 
 | ||||||
|  | class TestApp1 { | ||||||
|  |     constructor() { | ||||||
|  |         let MESSAGE = "Hello World"; | ||||||
|  |         console.log(MESSAGE); | ||||||
|  |     } | ||||||
|  | } | ||||||
| 
 | 
 | ||||||
|  | new TestApp1(); | ||||||
| 
 | 
 | ||||||
| 
 | module.exports = app; | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
|  module.exports = app; |  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue