array方法

pure的

Array.from()
reduce
map
concat
slice
※slice不包含最後一個

impure的

splice
sort
copyWithin
pop

回傳的不是array的:
entries

回傳boolean的
some
(提供callback
includes
(提供值

參考:
Pure and Impure functions in Javascript