NodeJs/JavaScript
How To Install NodeJs + NPM (Linux)
1. Head to the official repository for Node.js distributio The link is right here: https://gith...
JavaScript Roadmap Journey
Introduction
What is JavaScript It is a scripting language that is the core of websites, along with HTML and ...
Code structure and data types
Script tag You can insert JavaScript program into HTML document using the <script> tags. You ca...
Variables
Variables A named storage for storing data. There are couple way of creating a variable var ke...
Type Conversion
String Conversion You can call the String() function to explicit convert a value to a string St...
Basic Operators and Comparsion
Math Operators +, addition -, subtraction *, multiplication /, division %, remainder **, ex...
Conditional and Logical Operator
Ternary Operator let accessAllowed; if (age > 18) { accessedAllowed = true; } else { ...
Loops and switch statement
While and for loop They are the same as in Python, C, and Java while (condition) { // Repeat ...
Functions, function expression, arrow function
Function Declaration To declare a function follow the syntax: function function_name(parameter1...
Objects and object references
Objects In JavaScript objects are used to store key to value pair collection of data. You can th...
Garbage collection
Reachability In JavaScript garbage collection is implemented through something called reachabili...
Constructor and "new" operator
Constructor function Function that is meant to be a constructor are named with capital letter fi...
Optional chaining
Optional chaining There is this problem that if the object that you are accessing might or might...
Symbol Type
Symbols In JavaScript there is two primitive types that can be used as object property key St...
Arrays and methods
Array Two ways of creating empty array let arr = new Array(); let arr = []; Create an array w...
Iterables
Iterables A generalization of arrays, it allows us to make any object iterable in the context of...
Map and set, weakmap and weakset
Map Very similar to an object, however, with object the only key that is allowed is a String. Ma...
Destructuring assignment
Destructuring assignment A special syntax to let us unpack either array or object into different...
JSON
JSON file When you want to transport say a complicated object or an array of object to another c...
Miscellaneous function topics
Rest parameters and spread syntax How do we make a function take in an arbitrary number of argum...
Getters & setters
Virtual property In addition to the normal property that we have for objects, we can also set up...
All about prototypes
Prototype inheritance Every object have a special hidden property [[Prototype]] it is either nul...
Classes in JavaScript
Class basic syntax Besides using a constructor function there is a more advance object oriented ...
Try...catch
Syntax try { // Code } catch (err) { // Error handling } finally { // Excuted always,...
Promises and promise chaining
Time before promise, callbacks There are entities in JavaScript that let you schedule asynchrono...
More promise API
Promise.all This API will allow us to take in an iterable, an array of promises and return a new...
Async and await
async keyword async keyword is placed before a function like so: async function f() { return ...
All about modules
Two different standards In the browser JavaScript ecosystem, JavaScript modules depends on impor...
OAuth 2.0
Time before OAuth Before OAuth was invented, a common way to give third-party application access...
CSS Max-width
Max-width This property is interesting because if you specify a max-width, the content's width w...
Microservices Explained
Problem with Monolithic architecture At the beginning of application development, the standard w...
Caching vs CDN
Cache(ElastiCache) Again caching is storing data that are frequently accessed into RAM so that t...
More about OAuth2.0 grant
What is a grant? When you sent a request to the authorization server you will sent a field that ...
yaml and JSON
JSON Javascript object notation, is a serialization language that converts complicated objects l...