js两个箭头 =>()=>()

request(_ action)
let withStatus =
status =>
action
=> 
R.merge(action, (status])
let request = withStatus (REQUEST)

 

 

var withStatus = function(status) [
return function(action) [
return R. merge(action, [status: status]);
];
];

 

posted @ 2019-01-17 15:41  江山一族  阅读(1368)  评论(0编辑  收藏  举报