Skip to main content
Module

x/rambda/source/mapcat.spec.js

Faster and smaller alternative to Ramda
Go to Latest
File
import { mapcat } from './mapcat.js'
test('happy', () => { const result = mapcat(x => x.toUpperCase(), [ [ 'a', 'b' ], [ 'c', 'd' ], [ 'e', 'f' ], ]) console.log(result)})