- "=>" update the array
- "=" return a value
[๐, ๐, ๐, ๐, ๐].length = 5
Array.from('๐๐๐๐๐') = [๐, ๐, ๐, ๐, ๐]
Array.isArray([๐, ๐, ๐, ๐, ๐]) = โ
Array.of(๐, ๐, ๐, ๐, ๐) = [๐, ๐, ๐, ๐, ๐]
[๐ฎ, ๐ท].concat([๐, ๐, ๐]) = [๐ฎ, ๐ท, ๐, ๐, ๐]
[๐, ๐, ๐, ๐, ๐].copyWithin(2) = [๐, ๐, ๐, ๐, ๐]
[๐, ๐, ๐, ๐, ๐].copyWithin(1, 3) = [๐, ๐, ๐, ๐, ๐]
[๐, ๐, ๐, ๐, ๐].copyWithin(0, 3, 4) = [๐, ๐, ๐, ๐, ๐]
[๐, ๐, ๐, ๐, ๐].every(vegetable => ๐) = โ
[๐ฅ, ๐ฅ, ๐, ๐, ๐].every(vegetable => ๐) = โ
[๐ฅ, ๐ฅ, ๐, ๐, ๐].fill(๐, 2, 4) => [๐ฅ, ๐ฅ, ๐, ๐, ๐]
[๐ฅ, ๐ฅ, ๐, ๐, ๐].fill(๐, 1) => [๐ฅ, ๐, ๐, ๐, ๐]
[๐ฅ, ๐ฅ, ๐, ๐, ๐].fill(๐) => [๐, ๐, ๐, ๐, ๐]
[๐, ๐, ๐ญ, ๐, ๐].filter(ingredient => ๐ฎ๐น) = [๐, ๐]
[๐, ๐, ๐ญ, ๐, ๐].filter(ingredient => FR) = []
[๐ฅ, ๐ฅ, ๐ฅ, ๐, ๐].find(vegetable => fruit) = ๐
[๐ฅ, ๐ฅ, ๐ฅ, ๐, ๐].find(vegetable => cloth) = undefined
[๐ฅ, ๐ฅ, ๐ฅ, ๐, ๐].findIndex(vegetable => ๐) = 3
[๐ฅ, ๐ฅ, ๐ฅ, ๐, ๐].findIndex(vegetable => cloth) = -1
[๐, ๐, [๐ฅ, ๐ฅ]].flat() = [๐, ๐, ๐ฅ, ๐ฅ]
[๐, ๐, [๐ฅ, ๐ฅ, [๐ฑ, ๐ถ]]].flat(2) = [๐, ๐, ๐ฅ, ๐ฅ, ๐ฑ, ๐ถ]
[๐].forEach(๐ฐ => console.log(๐ฐ))
[๐ฑ, ๐ถ, ๐ฆ, ๐ท, ๐ฎ].includes(๐ท) = โ
[๐ฑ, ๐ถ, ๐ฆ, ๐ท, ๐ฎ].includes(๐) = โ
[๐, ๐ช, ๐ฆ, ๐ฆ, ๐ฆ].indexOf(๐ฆ) = 2
[๐, ๐ช, ๐ฆ, ๐ฆ, ๐ฆ].indexOf(๐ฆ, 2) = 4
[๐, ๐ช, ๐ฆ, ๐ฆ, ๐ฆ].indexOf(๐) = -1
[๐ฌ, ๐ฅ, ๐ง].join() = '๐ฌ,๐ฅ,๐ง'
[๐ฌ, ๐ฅ, ๐ง].join(๐) = '๐ฌ๐๐ฅ๐๐ง'
[๐, ๐ช, ๐ฆ, ๐ฆ, ๐ฆ].lastIndexOf(๐ฆ) = 4
[๐, ๐ช, ๐ฆ, ๐ฆ, ๐ฆ].lastIndexOf(๐ช) = 1
[๐, ๐ช, ๐ฆ, ๐ฆ, ๐ฆ].lastIndexOf(๐) = -1
[๐, ๐ช, ๐ฆ, ๐ฆ, ๐ฆ].lastIndexOf(๐ฆ, 3) = 4
[๐ฝ, ๐ท, ๐, ๐ฆ, ๐พ].map(sourceMaterial => ๐ณ) = [๐ฟ, ๐ฅ, ๐, ๐ค, ๐]
[๐ฅ, ๐ฅ, ๐, ๐, ๐].pop() = ๐
[๐ฅ, ๐ฅ, ๐, ๐, ๐].pop() => [๐ฅ, ๐ฅ, ๐, ๐]
[๐ท, ๐, ๐].push([๐ฎ, ๐]) = 5
[๐ท, ๐, ๐].push([๐ฎ, ๐]) => [๐ท, ๐, ๐, ๐ฎ, ๐]
[๐ฎ, ๐ท].reduce((accumulator, ingredient) => ๐ช, initialValue) = ๐
[๐ฅ, ๐ฅ, ๐, ๐, ๐].reverse() = [๐, ๐, ๐, ๐ฅ, ๐ฅ]
[๐ฅ, ๐ฅ, ๐, ๐, ๐].reverse() => [๐, ๐, ๐, ๐ฅ, ๐ฅ]
[๐ท, ๐, ๐, ๐ฎ, ๐].shift() = ๐ท
[๐ท, ๐, ๐, ๐ฎ, ๐].shift() => [๐, ๐, ๐ฎ, ๐]
[].shift() => undefined
[๐, ๐ฆ, ๐ช, ๐ฆ, ๐].slice() = [๐, ๐ฆ, ๐ช, ๐ฆ, ๐]
[๐, ๐ฆ, ๐ช, ๐ฆ, ๐].slice(2) = [๐ช, ๐ฆ, ๐]
[๐, ๐ฆ, ๐ช, ๐ฆ, ๐].slice(0, -2) = [๐, ๐ฆ, ๐ช]
[๐, ๐ฆ, ๐ช, ๐ฆ, ๐].slice(-2) = [๐ฆ, ๐]
[๐ฅ, ๐ฅ, ๐ฅ, ๐, ๐].some(vegetable => fruit) = true
[๐ฅ, ๐ฅ, ๐ฅ, ๐, ๐ฅ].some(vegetable => fruit) = false
[1, 30, 4, 21].sort() = [1, 21, 30, 4]
[๐ฅ, ๐ฅ, ๐, ๐ฅ].splice(1, 0, ๐ฅ) => [๐ฅ, ๐ฅ, ๐ฅ, ๐, ๐ฅ]
[๐ฅ, ๐ฅ, ๐, ๐ฅ].splice(3, 1, ๐ฅ) => [๐ฅ, ๐ฅ, ๐, ๐ฅ]
[๐ฅ, ๐ฅ, ๐ฅ, ๐, ๐ฅ].toString() = '๐ฅ, ๐ฅ, ๐ฅ, ๐, ๐ฅ'
[๐ท, ๐, ๐].unshift(๐ฎ, ๐) = 5
[๐ท, ๐, ๐].unshift(๐ฎ, ๐) => [๐ฎ, ๐, ๐ท, ๐, ๐]