Closed yuryshulaev closed 2 years ago
.fxrc:
global._ = require('lodash/fp'); Object.assign(global, _);
Before:
$ echo '[2, 3, 4]' | fx 'reduce(multiply, 1)' 1 # Huh?
After:
$ echo '[2, 3, 4]' | fx 'reduce(multiply, 1)' 24
.fxrc:
Before:
After: