<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> <script>$(function(){ console.log($($('body'))); });</script>