-
01-00 System
-
01-01 Info from CPU:
os.cpus()
-
01-02 Info from Operating System:
os.version()
andos.platform()
-
01-03 Info from current user:
os.userInfo()
-
01-04 Access to environment variables:
process.env
-
01-05 Get the amount of free memory in bytes (as integer):
os.freemem()
-
01-06 Get the amount of total memory available in bytes (as integer):
os.totalmem()
-
01-07 The load average of CPU:
os.loadavg()
-
01-08 Network interfaces information:
os.networkInterfaces()
-
01-09 Stop the execution with a proper status code:
process.exit()
-
01-10 Get temporary directory:
os.tmpdir()
-
01-11 Get monotonic time:
performance.now()
-
02-00 Array
-
02-01 Create a string from an array:
join()
-
02-02 Check if the array includes a certain value:
includes()
-
02-03 Check if a key exists in the array:
in
-
02-04 Concat arrays:
concat()
-
02-05 Concat arrays via destructuring
-
02-06 Remove duplicate values in an array via
Set(
)` -
02-07 Generate and fill a new array
fill()
-
02-08 Filtering elements:
filter()
-
02-09 Testing all elements:
every()
-
02-10 Testing at least one element:
some()
-
02-11 Mapping new array:
map()
-
02-12 Reduce array:
reduce()
-
02-13 Modify array:
splice()
-
02-14 Extracting elements:
slice()
-
02-15 Flat nested array:
flat()
-
02-16 Find the index of an element that matches a condition
findIndex()
-
02-17 Allows accessing elements using positive or negative indices
at()
-
02-18 First maps each element using a mapping function, then flattens the result into a new array
flatMap()
-
02-19 Returns a new Array Iterator object that contains the keys (indices) for each index in the array
keys()
-
02-20 Returns a new Array Iterator object that contains key/value pairs for each index in the array
entries()
#72 -
02-21 returns the last index of the element in the array that satisfies the provided testing function
findLastIndex()
-
02-22 returns the last element in the array that satisfies the provided testing function
findLast()
-
02-23 Shallow copies part of an array to another location in the same array
copyWithin()
-
02-25 returns a new Array Iterator object that contains the values for each index in the array
values()
#70 -
03-00 Variables, constants, Object
-
03-01 Get variable type:
typeof
-
03-02 Portable directory separator:
path.sep
-
03-03 Portable end of line:
os.EOL
-
03-04 Gets the properties of the given object:
getOwnPropertyNames()
-
03-05 Getting all the Object properties/attributes:
keys()
-
03-06 Object values:
values()
-
03-07 Object entries:
entries()
-
03-08 Object freeze:
freeze()
-
03-09 Object seal:
seal()
-
03-10 Object is frozen:
isFrozen()
-
03-11 Object is sealed:
isSealed()
-
03-12 Groups elements of an array based on a function, either returning an object
groupBy()
#64 -
03-13 Transforms a list of key-value pairs into an object:
fromEntries()
-
04-00 Functions
-
05-00 Strings
-
05-01 Concatenating strings:
concat()
-
05-02 Padding Strings:
padStart()
padEnd()
-
05-03 String includes:
includes()
-
05-04 Slicing strings:
slice()
-
05-05 Finding index:
indexOf()
-
05-06 Repeating a string:
repeat()
-
05-07 Splitting a String into an Array:
split()
-
05-08 Upper case:
toUpperCase()
-
05-09 Lower case:
toLowerCase()
-
05-10 Start with:
startWith()
-
05-11 Replaces all occurrences of a substring in a string:
replaceAll()
-
05-12 Removes whitespace from the beginning or end of a String
trimStart()
andtrimEnd()
-
06-00 Files
-
06-01 Current directory:
process.cwd()
#53