const map = { | |
"TCS" : "Tata Consultancy Services", | |
"SUN" : "Stanford University Networks" | |
} | |
function getCompanyName(abbr){ | |
return map[abbr] | |
} |
const promise1 = Promise.resolve("This"); | |
const promise2 = Promise.resolve("is"); | |
const promise3 = Promise.resolve("my"); | |
const promise4 = Promise.resolve("first"); | |
const promise5 = Promise.resolve("day"); | |
const promise6 = Promise.resolve("JavaScript"); | |
Promise.all([promise1, promise2, promise3,promise4,promise5,promise6]).then(function(values) { | |
console.log(values.join(" ")); |
Mongodb is a OODBMS, ie a object oriented database management system, where in data is stored in terms of objects instead of conventional rows. Mongodb is also being called as a No-SQL database because we do not use any SQL syntax Official Documentation is available at
What is Express JS? As per the official website, http://expressjs.com/
ExpressJs is basically a light-weight web framework, allowing to build server side web applications, it has full capabilities to develop applications that can behave as a server side application or just use to make REST-API.
To begin with we start with
var-let-const
IIFE in Javascript
Functions in Javascript
Arrow functions in Javascript
Making private functions in Javascript
What is this
in Javascript
What is an object
Node.JS
Blogs
Articles
A function in simple terms takes an input, does something and gives a output. In simple terms there is always some sort of action inside a function.
A function may or may not take arguements.
- If it takes one argument it's a monoadic function
- If it takes then it is called a two diadic function
- More than 2 then it is a polyadic function.
Please feel free to mention any topics you would like me to make a write-up on or if you want to see a running a code example on any topic in Javascript, I will try my best to explain.
Please subscribe to MPJ on youtube his channel is funfunfunction https://www.youtube.com/channel/UCO1cgjhGzsSYb1rsB4bFe4Q
Below are some topics for which I will be making new set of notes.