title: What does this function do when it has code inside it with ':'?
body: <p>I know the question is very vague and I apologize in advance. I have these two lines of code someone wrote for me and I just need a short explanation as to what they mean. Thanks in advance. So what is happening inside the function?</p>
  
  <pre><code> var addNumbersToHeadings = $tocPlaceholder.data("add-numbers-to-headings");
  
  function getTocSettings() {
          return {
              addNumbersToHeadings: $tocPlaceholder.data("add-numbers-to-headings"),
  
          };
      }
  </code></pre>