array_reduceの話2

array_reduceと arrayのsplat オペレーターを使うと、同じアレーを生成するという意味のない関数ができる。

で、パターンを使って、array_mapもarray_filterもarray_reduceで代用できるというお話

めでたし、めでたし

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.