Recently Updated Pages
Parameterization and string substitution
String substitution In the context of building a database query like so: CREATE TABLE fish (nam...
OAuth 2.0
Time before OAuth Before OAuth was invented, a common way to give third-party application access...
Introduction to Operating System
Monolithic os Every hardware service that it will provide or every service that an application t...
All about modules
Two different standards In the browser JavaScript ecosystem, JavaScript modules depends on impor...
Async and await
async keyword async keyword is placed before a function like so: async function f() { return ...
More promise API
Promise.all This API will allow us to take in an iterable, an array of promises and return a new...
Try...catch
Syntax try { // Code } catch (err) { // Error handling } finally { // Excuted always,...
Getters & setters
Virtual property In addition to the normal property that we have for objects, we can also set up...
Objects and object references
Objects In JavaScript objects are used to store key to value pair collection of data. You can th...
JSON
JSON file When you want to transport say a complicated object or an array of object to another c...
Destructuring assignment
Destructuring assignment A special syntax to let us unpack either array or object into different...
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...
Iterables
Iterables A generalization of arrays, it allows us to make any object iterable in the context of...
Arrays and methods
Array Two ways of creating empty array let arr = new Array(); let arr = []; Create an array w...
Symbol Type
Symbols In JavaScript there is two primitive types that can be used as object property key St...
Optional chaining
Optional chaining There is this problem that if the object that you are accessing might or might...
Constructor and "new" operator
Constructor function Function that is meant to be a constructor are named with capital letter fi...
Code structure and data types
Script tag You can insert JavaScript program into HTML document using the <script> tags. You ca...
Garbage collection
Reachability In JavaScript garbage collection is implemented through something called reachabili...
Functions, function expression, arrow function
Function Declaration To declare a function follow the syntax: function function_name(parameter1...