Guest User

Untitled

a guest
Mar 24th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. const computeAge = function () {
  2. let age = 10;
  3. console.log('another age: ', age);
  4. }
  5.  
  6.  
  7. const anotherComputeAge = computeAge;
  8.  
  9. anotherComputeAge();
  10.  
  11. function callComputeAge(fn) {
  12. fn();
  13. }
  14.  
  15. const adder = function(first, second) {
  16. console.log(first + second);
  17. };
  18.  
  19. adder(1, 2);
Add Comment
Please, Sign In to add comment