// importing http module ...
http.createServer(() => {/* server stuff */}).listen(8998);
See the code snippet above. What is the main difference between this style of declaration syntax and the previous ones you used?
Do not pay attention to the different port numbers, or empty parameters. Focus on the code style.