leetcode 30 天 JS 挑战
https://leetcode.cn/studyplan/30-days-of-javascript/
闭包
2667. 创建 Hello World 函数
var createHelloWorld = function() {
return function(...args) {
return 'Hello World'
}
};
...大约 2 分钟
https://leetcode.cn/studyplan/30-days-of-javascript/
var createHelloWorld = function() {
return function(...args) {
return 'Hello World'
}
};