- Budapest, HU
- https://www.splendidbear.org
- Joined on
2025-01-06
Promise = an Object that manages asynchronous operations. Wrap a promise object around {asynchronous code} "I promise to return a value" PENDING -> RESOLVED or REJECTED
new Promise…
async/await = async makes a function return a promise. await makes an async function wait for a promise.
By using these 2 keywords together, they allow you to…
Data structures and types
The latest ECMAScript standard defines eight data types: Seven data types that are primitives:
- Boolean - true or false
- null - A special keyword…
Ternary operator condition ? ifTrue : if False
Conditional if else statement
Undefined means that a variable doesn't exist and the interpreter doesn't know what you are referring to.
Null means that the variable exist, but has no value. It is usually used as a…
JavaScript has a set of values that can evaluate to true or false but may not equal true or false. Because of this we call these values truthy and falsy.
Falsy: All falsy values will be false…
Double equality operator ( == ) is known as the loose equality operator. This operator applies loosed comparison when comparing values. If the values compared are different types, type coercion…
Implicit Type Conversion (Coercion) is the automatic conversion (by JavaScript) of a value from one type to another to fit an operation you want to use. == LOOSE equality operator ===…
Hypertext Transfer Protocol (HTTP) is an application-layer protocol for transmitting hypermedia documents, such as HTML. It was designed for…