Skip to content

partitionAs

Subhajit Sahu edited this page Jun 11, 2020 · 13 revisions

Segregates values by similarity. 🏃 📼 📦 🌔 📒

object.partitionAs(x, fn, [ths]);
// x:   an object
// fn:  map function (v, k, x)
// ths: this argument
Clone this wiki locally