UNPKG
cordova-plugin-mfp-jsonstore
Version:
latest (8.0.2024082705)
8.0.2024082705
8.0.2023071003
8.0.2023040605
8.0.2023030306
8.0.2023021308
8.0.2023013114
8.0.2022100306
8.0.2022050908
8.0.2022042509
8.0.2021090603
8.0.2021062408
8.0.2021041203
8.0.2021031007
8.0.2021020111
8.0.2020101414
8.0.2020072706
8.0.2020022009
8.0.2020022005
8.0.2020012903
8.0.2019121604
8.0.2019121010
8.0.2019111409
8.0.2019110212
8.0.2019082915
8.0.2019072908
8.0.2019070908
8.0.2019061808
8.0.2019050614
8.0.2019041010
8.0.2019012308
8.0.2018112111
8.0.2018090313
8.0.2018080605
8.0.2018071703
8.0.2018070216
8.0.2018060412
8.0.2018040508
8.0.2018021611
8.0.2017090705
8.0.2017082110
8.0.2017081712
8.0.2017071209
8.0.2017070506
8.0.2017033009
8.0.2017021815
8.0.2017013103
8.0.2017012210
8.0.2016110713
8.0.2016101414
8.0.2016080320
8.0.2016062815
8.0.2016060921
8.0.2016052414
8.0.2016032800
IBM MobileFirst Platform Foundation Cordova Plugin JSONStore
cordova-plugin-mfp-jsonstore
/
node_modules
/
concat-map
/
example
/
map.js
7 lines
(6 loc)
•
171 B
JavaScript
View Raw
1
2
3
4
5
6
7
var
concatMap =
require
(
'../'
);
var
xs = [
1
,
2
,
3
,
4
,
5
,
6
];
var
ys =
concatMap
(xs,
function
(
x
) {
return
x %
2
? [ x -
0.1
, x, x +
0.1
] : []; });
console
.
dir
(ys);