as name defined it’s used to remove white space from the start and end of the string. check browser compatibility
Bigger Numbers with
We may see a BigInt primitive for whole numbers larger than the current maximum value of 253. A
BigInt can be declared in a few different ways.
Flatten Arrays with
flat() is design to convert multidimensional array to single dimensional array
flatMap() is similar to
map(), but the callback can return an array, and the end result will be flattened one-dimensional array instead of nested arrays.