leetcode

Solution to some Leetcode problems written in C++
git clone git://git.dimitrijedobrota.com/leetcode.git
Log | Files | Refs | README | LICENSE

2667.js (229B)


      1 var createHelloWorld = function() {
      2     return function(...args) {
      3         return "Hello World";
      4     }
      5 };
      6 
      7 var createHelloWorld = function() {
      8     return () => "Hello World";
      9 };
     10 
     11 var createHelloWorld = () => () => "Hello World";