Skip to content

Commit 076e9ea

Browse files
day 01 task complete
1 parent ffc6532 commit 076e9ea

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

day01/leetcode2667.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// 2667 -> Create Hello World Function
2+
// URL -> https://leetcode.com/problems/create-hello-world-function/
3+
4+
/**
5+
* @return {Function}
6+
*/
7+
var createHelloWorld = function () {
8+
return function (...args) {
9+
return "Hello World";
10+
}
11+
};
12+
13+
/**
14+
* const f = createHelloWorld();
15+
* f(); // "Hello World"
16+
*/

0 commit comments

Comments
 (0)