FP 要追求的…其實不是整個程式都是 Pure,而是 Pure 與 Impure 有明顯的界線。 其實這個範例還是 Impure 的,畢竟 log 本身代表的就...
typoxs.slice(0, 3) // xs -> []