title: What does the term "pass" or "passing" something mean in JavaScript callbacks?
body: <p>Currently learning what callbacks mean in JavaScript and I'm struggling to grasp how callbacks work and the term passing this or passing that comes from and how it works with callbacks? I have some sample code that I would like to show and briefly explain why I don't get it.</p>
  
  <pre><code>var users = ["Sam", "Ellie", "Bryan"];
  
  function addUser(username, chickenNugget) {
      setTimeout(function() {
        users.push(username);
        chickenNugget();
      }, 200);
  }
  
  function getUsers() {
      setTimeout(function() {
        console.log(users);
      }, 100);
  }
  
  addUser("Jake", getUsers);
  
  getUsers();
  </code></pre>
  
  <p>What happens when chickenNugget is called? does the code in the function just stop when it hits chickenNugget and resets until the function addUser is called again?</p>