0 / 60 seg.

These two script tags show different ways of using jQuery's ready() method. What is true about both approaches?

<script>
  $(function() {
    // The rest of my code goes here
  });
</script>
<script>
  jQuery(document).ready(function($) {
    // The rest of my code goes here
  });
</script>