There are 2 way to declare variables in JavaScript: with let, var and const keywords. without any keywords. With let, var and const let and const are the keywords introduced in ES6. whereas var was introduced in ES5. var fName = 'nithin'; const a...

Markdown supported · ⌘↵ to post
No responses yet.