#nodejs
Read more stories on Hashnode
Articles with this tag
map method The map method has its syntax shown below: array.map(func) func => func is the callback function. See the example below: const fruits = [...
An array is the collection of ordered items. These ordering collections make array index zero-based. Creating and Accessing an Array Creating an...
Numbers There are basically two types of numbers in JavaScript: Regular numbers: These are double-precision floating-point numbers stored in 64-bit...
The optional chaining ?. is a safe way to access nested object properties, even if an intermediate property doesn't exist. Let's assume each user is...
Primitives are fundamental data types like strings, numbers, booleans, etc. These primitive data types can be worked on as objects...
A global variable in the global scope can also be used in a local scope. This means expressions in a local scope can reach out to variables in a...