marcelofoxes

Untitled

Jul 9th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function calculateSumOfTwoPlusTwo() {
  2.     var sum = 2 + 2;
  3. }
  4.  
  5. function callCalculateSumOfTwoPlusTwoAndPrint() {
  6.     calculateSumOfTwoPlusTwo();
  7.    
  8.     console.log("The sum of two plus two is: ");
  9. }
Advertisement
Add Comment
Please, Sign In to add comment