aboutsummaryrefslogtreecommitdiffstats
path: root/2667/main.js
blob: d1a5a00db31445d39a8b1872851535ec3696d042 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env node
"strict mode";

/**
 * @return {Function}
 */
var createHelloWorld = function () {
  return function (...args) {
    return "Hello World";
  };
};

const f = createHelloWorld([]);
f(); // "Hello World"