Java script code

How we print our js code as i am a beginner for js and what is this port number here. i am not getting it.

By “Print js code”, do you mean log it in terminal/console
you can do it by using “console.log(‘pass string here’)”

And port is way by to identify a specific process to which an Internet or other network message is to be forwarded when it arrives at a server.

Hi Ishank, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.