Just started using jQuery and was expecting to see [<li>my name</li>,
in the Google Chrome console but got:
[li, prevObject: r.fn.init(1)] 0 : li length : 1 prevObject : r.fn.init(1) proto : Object(0)
<html>
<head>
<title>fww</title>
</head>
<body>
<ul>
<li>my name</li>
</ul>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
var lis = jQuery('ul li');
console.log(lis);
</script>
</body>
</html>
<html>
<head>
<title>fww</title>
</head>
<body>
<ul>
<li>my name</li>
</ul>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script>
var lis = jQuery('ul li');
console.log(lis);
</script>
</body>
</html>