The Set object type was introduced in ES6, and along with (...), the spread operator, we can use it to create a new array with only the unique values.
The every function returns a boolean. If all elements in the array pass the test, true will be returned. The some function tests whether at least one element in the array passes the test implemented.
The quickly convert a number to a string, we can use the concatenation operator + followed by an empty set of quatation marks.
The opposite can be quickly achieved using the addition operator +
if you want to convert a float to an integer, you can use Math.floor(), Math.ceil(), or Math.round(). But there is also faster way to truncate a float to an integer using |, the bitwise OR operator.
the stringify() method takes two optional parameters: a replacer function, which you can use to filter the JSON that is displayed, and a space value.
The space value takes an interger for the number of spaces you want or a string (such as '\t' to insert tabs), and it can make it a lot easier to read fetched JSON data.