NodeJS for non Javascript developer : Part 2

Photo by Christopher Robin Ebbinghaus on Unsplash

In the above example there are few things.
1. globale var : globaleVariable //line number :1
2. function : greet //line number :3
3. local var : name //line number: 5
4. local function : greetName //line number :6
5. called local function: greetName() //line number :10
6. called function greet() // line number :14

--

--

--

Automation Engineer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

TerriaJS v8.1.0–21 releases

Object Intersection: This is a Pretty Square Party If Ya Ask Me

Credit Cards In React.js

Copy text to Clipboard using vue-clipboard2 — Vue.js

This Is What You Must Know About JS Arrays

Pipes In Angular

Understanding built-in pipes and creating custom pipes in Angular

https://youtu.be/u02mUklYS2A

GraphQL subscriptions using Apollo 2

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Arun Singh

Arun Singh

Automation Engineer

More from Medium

Introduction to TypeScript

Clean Code with ESLint

Promises in Typescript

What is KoaJS Framework