title: TypeError: n is not a function
body: <p>I'm building a Wordpress site that has the following bit of JS:</p>
  
  <pre><code>jQuery(window).load(function($) {
      console.log('Everything loaded');
      $('.slides').fadeIn();
  });
  </code></pre>
  
  <p>I'm seeing "Everything loaded" in the console, but the following line causes an error:</p>
  
  <pre><code>Uncaught TypeError: n is not a function
  </code></pre>
  
  <p>I don't understand what's causing the problem. The JS file has jQuery as a dependency, and there are other jQuery functions that are working fine. It's just the above section that's causing an error. </p>
  
  <hr>
  
  <p>Here's a screenshot from the console, because some people are having difficulty believing the above code is causing the error.</p>
  
  <p><a href="https://i.stack.imgur.com/48klx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/48klx.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/HHoH9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HHoH9.png" alt="enter image description here"></a></p>