Function keyword

is ''function" keyword an immediate invoked function expression or some another function keyword other than iife
for creating server

Please write clearly what you mean. The query is unclear.
If yoy are asking what does writing “function” does, then it is just a way of definely a function in javascript. Writing “function” means the text afterwards is a defination of a function.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.