gpt4 book ai didi

javascript - es 6代码解释

转载 作者:行者123 更新时间:2023-11-29 10:36:01 25 4
gpt4 key购买 nike

<分区>

谁能解释一下代码在做什么here

return () => next => action => {
const callAPI = action[CALL_API];

if (typeof callAPI === 'undefined') {
return next(action);
}

let { endpoint } = callAPI;
const { types, bailout } = callAPI;

它最初返回一个函数,但我不明白为什么在第一个之后还有两个粗箭头。

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com