Closure function line ordering

Report a typo

Rearrange lines in the correct order. Make the function work, note that indentation is just as important.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                }; // second closing bracket
              
                function createMultiplier(factor) {
              
                return factor * number;
              
                }; // first closing bracket
              
                return function(number) {
              

Create a free account to access the full topic