Created
          December 29, 2014 20:07 
        
      - 
      
- 
        Save gasp/d42aac1c82b99b1ac149 to your computer and use it in GitHub Desktop. 
    leak
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | var food = ["kiwi","bananas"], | |
| poo = [], | |
| eat = function(fruit) { | |
| var transformed = (function(fruit) { | |
| return fruit + " shit"; | |
| })(fruit); | |
| return transformed; | |
| }; | |
| for (var i = food.length - 1; i >= 0; i--) { | |
| poo.push(eat(food[i])); | |
| }; | |
| console.log(poo); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
lmao